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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | 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 ||
 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
30421 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  
 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.02 seconds. Powered By: Snitz Forums 2000