Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this good syntax
Message
 
À
25/08/2002 17:50:00
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00693476
Message ID:
00693478
Vues:
25
Hey Jim,

here I am again :)

>Will this upadate the resschoolc field with the contents of the chcschoolc field if the resschoolc field is null and the chcschoolc field is not null?
UPDATE cisstudemo
  SET resschoolc = chcschoolc
  WHERE resschoolc IS NULL AND chcschoolc IS NOT NULL
Now it will do! But be aware of the fact, that you won't catch any records where an empty string is stored.

Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform