Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft SQL Server > Concatenate in ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 11183 of 11431
Post > Topic >>

Concatenate in MSSQL

by Harris Kosmidhs <hkosmidi@[EMAIL PROTECTED] > Jun 26, 2008 at 04:47 PM

Hello.

I 'm working on a project which has developed a huge program. Some 
customers use DB2 as database, and others oracle.
So far so good and everything works ok.

Now there's a demand on using SQL server. We have found two major
problems.

1) Trim()
There's no trim in MSSQL. Even if we create a trim() function to user 
ltrim(), rtrim() as far as I have searched one must call dbo.trim(field) 
instead of trim(field)

2)Concatenation
Oracle and DB2 works with the ANSI operator ||. Apparently SQL server 
doesn't :-( Is there a way to force the MSSQL to be ANSI compatible?

As you can imagine sql statements are used all over the application and 
we are talking about hundred of sql statements. I 'm sure other people 
have had the same problem. Is there a workaround?

Thanks
 




 2 Posts in Topic:
Concatenate in MSSQL
Harris Kosmidhs <hkosm  2008-06-26 16:47:50 
Re: Concatenate in MSSQL
--CELKO-- <jcelko212@[  2008-06-26 08:21:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Oct 15 13:50:31 CDT 2008.