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 |
Why functions are used in sql server?
How do you rename a table in sql server?
How to rebuild master databse?
Suppose you want to implement the following relationships while designing tables. How would you do it?a.) One-to-oneb.) One-to-manyc.) Many-to-many
What are date and time data types in ms sql server?
What are the methods used to protect against sql injection attack?
What is standby servers? Explain types of standby servers.
What is scan table/view and seek table/view when its occurs? : sql server database administration
What happens if the update subquery returns no rows in ms sql server?
What are the advantages of using a stored procedure?
How do I find information about the install locations for the various instances running on a computer?
What happens when unicode strings concatenate with non-unicode strings?
Oracle (3259)
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)