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: 845 times
Last Updated: Aug 03, 2010 at 03:25 PM
Adding crew work schedules to an existing calendar
Update two tables at once on a Join
Disabling A SQL Agent job from within the Job
Is 'CnstIsNonclustKey' property still valid?
Join returning multiple rows but need blank
Is there any alternative for like operators - for searching data
Query Help ???? any one help me
Use sp_send_dbmail to send a list of accounts
Database Last Activity Date