Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugging a WHILE EXISTS
Message
From
02/11/2008 15:35:24
 
 
To
02/11/2008 15:32:04
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01358902
Message ID:
01359030
Views:
28
>Isn't it the same as:
>
>UPDATE Relation SET NoField  = CASE WHEN Field = Field.Field
>                                         THEN Field.Numero
>                                    ELSE NoField END,
>                    NoField2 = CASE WHEN Field = Field.Field2
>                                        THEN Field.Numero
>                                   ELSE NoField2 END
>FROM Relation
>INNER JOIN Field ON (Ralation.Field = Field.Field OR Relation.Field2 = Field.Field2)
>
Yes, it is, but I want to have it in a loop.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform