Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pull out the PK field for the table
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01347071
Message ID:
01347232
Vues:
20
>>As far as i know
>>Insert data returned by sp_pkeys in #temp and use in you query.
>
>There're other ways. See Message #796855, for example. I'm pretty sure that in SQL 2005 one of sys system views should have this info as well.

Thanks, this worked nicely.
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