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
 SQL Server Development (2000)
 select query with concatenation help

Author  Topic 

reddymade
Posting Yak Master

165 Posts

Posted - 2006-06-01 : 10:17:35
I am trying to use the following query: getting an invalid operator error: both the columns are nvarchar datatype:

SELECT ContractNO + '' - '' + ContractName AS body
FROM TAB_ccsNetContracts

Can you please tell me what am i doing wrong.

Thank you very much for the info.

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-06-01 : 10:22:06
SELECT ContractNO + ' - ' + ContractName AS body
FROM TAB_ccsNetContracts


Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -