Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Row Numbers
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01428976
Message ID:
01429235
Vues:
27
>
>DECLARE @Test TABLE (your field list here from original table, RowNumber int IDENTITY(1,1))
>
>INSERT INTO @Test (fiel list here w/o ROWNUMBER one)
>SELECT .....
>       FROM rbpo.rb_Tabs t1
>WHERE ParentTabId = 47
>
>SELECT * FROM @Test
>
It may be a better solution than temp table. I was lazy typing it.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform