That should work assuming your datatypes work together.

HEre's another example

'The price is ' + CAST(price AS varchar(12))

You may need to break out CONVERT() instead of CAST()

E

----- Original Message ----- 
From: "Cantrell, Adam" <[EMAIL PROTECTED]>


What's the operator for string concatenation in SQL server - I'm trying:

SET txtColumnName1 = txtColumnName1 + '#form.txtFormField1#'

And that's throwing me an "Invalid operator for data type" error.

Anyone help me out right quick? Adam.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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