Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Titre:
Re: Update
Divers
Thread ID:
00974228
Message ID:
00974251
Vues:
14
I prefer to avoid SQL Server cursors and use set based solutions. You can create a temp table or table variable with two fields ActID Varchar(15) and TranAmt Money and insert result of select into it. After that you can update QW2_ROLLUP_TABLE with one UPDATE comand by joining the table to the temp table or table variable create before that.


> I am trying to update one of the filed in my sql table. I need to update only one row in this table.
>
>this is my code
>
<snip>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform