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 ...
A common SQL habit is to use SELECT * on a query, because it’s tedious to list all the columns you need. Plus, sometimes those columns may change over time, so why not just do things the easy way? But ...
Let's break down when it's ideal to use the NOLOCK hint and when you should never use it. As a consultant, I work on wide swaths of database systems, which means I get to see many, many SQL statements ...