Is it possible to use a dynamic WHERE IN clause LIKE
SELECT * FROM sometable WHERE ID in(@id)
Aug 03, 2010 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, 2010 at 03:25 PM
Seen: 866 times
Last Updated: Aug 03, 2010 at 03:25 PM
How to call vbs scrpt from TSQL and email output?
how to achieve this resultset in tsql?
How to Delete rows from a table if try insert same value
How do I count 0 records?
group tags for unknow depth in xpath
Loop returning last value twice
update comma delimited field with data from another table
How to pivot this table ?
Count Distinct with Group By