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
 General SQL Server Forums
 New to SQL Server Programming
 double pipe line ||

Author  Topic 

ivra
Starting Member

18 Posts

Posted - 2009-06-25 : 02:30:55
Hi guys,

can someone explain to me what is the meaning of double pipeline || in this query:

where a.nc_media||s.nc_id <> 'DM033'

Thanks,

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-06-25 : 02:41:34
It's a concatenating symbol for Oracle queries.

In Microsoft SQL Server, the query would look something like (depending on nc_media and nc_id datatypes).

where a.nc_media + s.nc_id <> 'DM033'



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page

ivra
Starting Member

18 Posts

Posted - 2009-06-25 : 02:45:59
great! thanks Peso
Go to Top of Page
   

- Advertisement -