Hi,
I am building SQL Strings in my stored procedure in order to execute with dynamic information. After much agony dealing with the single-quotes, double-quotes, when and when not to use quotes, etc..., I have them working. The problem is when I need to insert an integer variable into the string. I declare and set the int variable at the beginning of the SP. I can't get the variable inserted into the string as the integer value.
Thanks for any help.
I am building SQL Strings in my stored procedure in order to execute with dynamic information. After much agony dealing with the single-quotes, double-quotes, when and when not to use quotes, etc..., I have them working. The problem is when I need to insert an integer variable into the string. I declare and set the int variable at the beginning of the SP. I can't get the variable inserted into the string as the integer value.
Thanks for any help.