Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to send update to SQL Server
Message
 
 
À
06/10/2003 12:50:24
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00835189
Message ID:
00835581
Vues:
27
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform