is it possible to use a variable in a query with the IN
clause (a,b,c..z), without getting quotes or conversion
errors?
Answers were Sorted based on User's Feedback
Answer / guest
You can use a variable as your IN clause, but this requires
that you use the EXEC function to run the statement.
| Is This Answer Correct ? | 2 Yes | 1 No |
What is deploy, process and build? : sql server analysis services, ssas
Can you please explain the difference between primary keys and foreign keys?
What is recompile sql server?
Explain what are the restrictions that views have to follow? : SQL Server Architecture
What is sql server locking?
How would you use user_constraints table in DB?
What is an identity column in insert statements?
Explain the properties of a relational table?
What is the difference between Stored Procedures and triggers?
How to list all tables in the database using odbc_tables()?
Can you explain what are various ways to enhance the ssrs report?
What is the datatype of rowid?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)