Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting carriage returns into script
Message
From
12/09/2008 14:23:29
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Title:
Converting carriage returns into script
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01347178
Message ID:
01347178
Views:
56
I have a script that contains a line to insert data into the table. In one of those fields, I have a long text which insert carriage returns. When I generate the script, this wraps on several lines. And, when being run, it will generate an error. I need to adjust the script generation to take care of those carriage returns. I would assume I would have to do something like this:
'First part of the string' + MyCarriageReturnValue+ 'Second part of the string'
What is the best way to do this?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform