Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan of table
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01312331
Message ID:
01312337
Vues:
14
You can use SQL Server cursor to lop through any subset of data. The question is, do you have to? SQL Server is much better with set oriented peocessing. The record based processin is much less effective.

>Hi All, I have a SP which I would like to "call" once for every record in a table - e.g. in VFP I would do something like
>
>
>use mytable
>
>scan
>    EXEC MySP mytable.field1
>endscan
>
>
>
>I know it's frowned upon sequentially scanning a table in SQL server but I don't know of any other way - is this doable ?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform