Is it possible to use a dynamic WHERE IN clause LIKE
SELECT * FROM sometable WHERE ID in(@id)
Aug 03 '10 at 03:25 PM
There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
Need long-form SQL discussion? SQLserverCentral.com is the place.
asked: Aug 03 '10 at 03:25 PM
Seen: 780 times
Last Updated: Aug 03 '10 at 03:25 PM
Specifying the ORDER BY
Problem in counting nulls and then merging them with the rows
FInd the underlying tables assocaited with a view or a stored procedure in sql server.
Merging non Null columns into a single rowtsql
How to view when a Stored proc was last run
convert varbinary to varchar... it works in select statement but not update statement why?
SQL Concatenation Help
Granting permission to create user for Windows admin account.
How many minutes is agent ready by determined interval
Filter selected tables using sp_msforeachtable