Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 concatenating fields

Author  Topic 

sharonchapman
Starting Member

35 Posts

Posted - 2001-09-11 : 15:28:05
I have to fields I want to concatenate:

dbo_DMRLoadRpt.Entry_Month + "/" + dbo_DMRLoadRpt.Entry_Year AS SelectData

My book says I should use the plus sign to concatenate, but when I do I only get the last field and it doesn't like the '/' at all.

Can someone tell me how to concatenate these two fields with the '/' in tsql? I want to use this in a view.
   

- Advertisement -