query: How to put a case statement in a sql variable and reuse in stored procedure
positive_passages.docid: 21822
positive_passages.text: How to put a statement in a variable and use it multiple times in stored procedure
negative_passages.docid: 64606
negative_passages.text: reuse sql with view or function
negative_passages.docid: 157889
negative_passages.text: SQL Server: use parameter in CREATE DATABASE
negative_passages.docid: 43205
negative_passages.text: use result set of mysql stored procedure in another stored procedure
negative_passages.docid: 155001
negative_passages.text: Call stored procedure with table-valued parameter from java
negative_passages.docid: 81453
negative_passages.text: CASESAFEID() apex equivalent
negative_passages.docid: 63897
negative_passages.text: How do I return a new IDENTITY column value from an SQLServer SELECT statement?
negative_passages.docid: 104045
negative_passages.text: A table name as a variable
negative_passages.docid: 74263
negative_passages.text: How to use string variable in sql statement
negative_passages.docid: 94224
negative_passages.text: Incorrect syntax near ')' calling stored procedure with GETDATE
negative_passages.docid: 107184
negative_passages.text: Printing the value of a variable in SQL Developer
negative_passages.docid: 73614
negative_passages.text: Retrieving Return value from stored procedure
negative_passages.docid: 88326
negative_passages.text: Check Constraint with Case Statement
negative_passages.docid: 59734
negative_passages.text: How to use SQL Order By statement to sort results case insensitive?
negative_passages.docid: 25134
negative_passages.text: How do I perform an IF...THEN in an SQL SELECT?
negative_passages.docid: 14846
negative_passages.text: Need to update rows from a stored procedure via IDs in a temp table
negative_passages.docid: 152786
negative_passages.text: How do I conditionally create a stored procedure in SQL Server?