Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alter table command ignored, Why?
Message
De
08/04/2002 11:13:08
 
 
À
08/04/2002 10:41:37
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00642194
Message ID:
00642219
Vues:
26
You should be able to do the copy with just the INSERT..SELECT. Of course, you'll have to list the explicit columns.

INSERT INTO mytable (
c1,
c2,
c3)
SELECT
c1,
@newC2,
c3
FROM
mytable
WHERE
c2 = somevalue

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform