SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 double pipe line ||
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ivra
Starting Member

Philippines
18 Posts

Posted - 06/25/2009 :  02:30:55  Show Profile  Reply with Quote
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

Sweden
30281 Posts

Posted - 06/25/2009 :  02:41:34  Show Profile  Visit SwePeso's Homepage  Reply with Quote
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

Philippines
18 Posts

Posted - 06/25/2009 :  02:45:59  Show Profile  Reply with Quote
great! thanks Peso
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000