Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server limits question
Message
From
19/02/2001 11:36:48
 
 
To
16/02/2001 21:23:40
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00476935
Message ID:
00477339
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform