x

[Closed] where in clause

Is it possible to use a dynamic WHERE IN clause LIKE

SELECT * FROM sometable WHERE ID in(@id)

more ▼

asked Aug 03, 2010 at 03:25 PM in Default

Mike 4 gravatar image

Mike 4
44 5 8 9

(comments are locked)
10|1200 characters needed characters left

The question has been closed Aug 03, 2010 at 04:38 PM by Matt Whitfield for the following reason:


0 answers: sort voted first

New code box

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.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x292

asked: Aug 03, 2010 at 03:25 PM

Seen: 893 times

Last Updated: Aug 03, 2010 at 03:25 PM