|
-
Oct 2nd, 2009, 10:02 AM
#3
Thread Starter
Lively Member
Re: need string to read out in INSERT statement
I'm doing this in SQLServer 2005. It's running in a stored procedure, communicated to by a VB.NET 2005 application.
SQL won't compile because it can't find columns named @str1, @str2, et cetera. I want it to use the contents of the variable for the column name. Otherwise I have to write a bunch of INSERT statements in nested conditionals
Last edited by theguyinthehat; Oct 2nd, 2009 at 10:36 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|