Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server limits question
Message
De
19/02/2001 11:36:48
 
 
À
16/02/2001 21:23:40
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00476935
Message ID:
00477339
Vues:
18
What I do in those situations is to create a temp table (CREATE TABLE #tmpSomething) with one field, which will be the primary key, fill it using INSERT INTOs and join that table with MyTable. Just don't forget to DROP TABLE once you're done!

>The app allows the user to fill in a form with criteria and it then builds a SQL query. This is a simple query that looks something like:
>
SELECT * FROM MyTable
>WHERE MyVar IN (var1,var2,var3,....varN)
Sylvain Demers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform