I believe that's the ansi SQL-92 standard, but in MSSQL it's +. My problem
was that the datatype was ntext, which it appears MSSQL doesn't allow you to
concatenate. This is just based on my experience from yesterday, I wasn't
able to verify in the documentation.

I changed to varchar and it works fine. That particular field didn't need to
be ntext, so for the sake of clarity I didn't go with casting to a different
datatype. Thanks for the replies.

Adam.


> -----Original Message-----
> From: Thomas Chiverton [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 05, 2003 4:19 AM
> To: CF-Talk
> Subject: Re: SQL concat
> 
> 
> On Wednesday 04 Jun 2003 18:13 pm, Cantrell, Adam wrote:
> > What's the operator for string concatenation in SQL server 
> - I'm trying:
> 
> || isn't it ?
> 
> -- 
> Tom C
> "Land of the free, home of the brave... you have to be brave 
> to live there and 
> enjoy the freedoms"
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to