Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cycles with SQL pass thought
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00432647
Message ID:
00432688
Vues:
23
From Books Online, search "FOR LOOP":
DECLARE
@COUNTER NUMERIC
SELECT @COUNTER = 1
WHILE (@COUNTER <5)
BEGIN
    SELECT @COUNTER = @COUNTER +1
END
I've never done it, but, like I said, this example is from Books Online.

>Anyone knows if it's possible to make a cycle in SQL "language"?
Sylvain Demers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform