I'm trying to figure out how to use the SQL where/in syntax with a paramterized query. For instance let's say I'd like to run the following query:<BR><BR>select * from customers where custid in (1,2,3 ...
Greetings,<BR><BR>I've used "WHERE 1=1" for a long time in dynamic where clauses in which every condition is optional, and lately I heard it suggested that this can cause full table scans by itself.