jim_scott
October 5th, 2005, 04:51 AM
i have two varchar fields say
field1 varchar(20)
field2 varchar(4)
i want to return a result in the format field1 - field2
my query tries to add the two fields together
select (field1 + ' - ' + field2) as result from table
any help much appreciated
field1 varchar(20)
field2 varchar(4)
i want to return a result in the format field1 - field2
my query tries to add the two fields together
select (field1 + ' - ' + field2) as result from table
any help much appreciated