Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to send update to SQL Server
Message
 
 
To
06/10/2003 12:50:24
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00835189
Message ID:
00835581
Views:
26
James,
Thank you so much for your input. So far, since you are the only one replied, the vote is 100% for building an update statement.

>Dimitry
>
>I personally like to build my own update statements so I can Alltrim() the character fields so varchar() columns really work.
>
>
>
>>As far as getting the data from SQL Server, I like using SQL pass through.
>>
>>But I am not sure what is a better (preferred or recommended) way of sending changes back to the SQL Server. I am aware of two methods:
>>
>>1. Making cursor updatable and using TABLEUPDATE()
>>
>>2. Using cursor (without making it updatable) and then building a SQL UPDATE string based on the cursor/table fields and sending it to the SQL Server using SQLEXEC().
>>
>>Any suggestions?
>>
>>Thank you
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform