Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server -- I screwed up!
Message
De
29/09/1999 10:59:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
SQL Server -- I screwed up!
Divers
Thread ID:
00270527
Message ID:
00270527
Vues:
55
My records have a compound primary key.

I need to do a bunch of SQL scripts (or one script) that replaces part of the key (lookup_key) with a different value for ONE practitioner.

Is this ok for SQL Server SQL scripts?

* fix_lookup.sql
update master_cred set lookup_key = '2974' where lookup_key = '[974'
update group_detail set lookup_key = '2974' where lookup_key = '[974'
* etc

Will that work? Is all the puncuation correct for multiple update commands in a single file?

Thanks!
--Todd Sherman
-Wake Up! Smell the Coffee!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform