|
-
Jul 2nd, 2002, 05:55 AM
#1
Thread Starter
Lively Member
Dynamically building SQL Statment in SQL Server Stored Procs
I'm quite new to writing SQL server stored procs.
Normally in an asp page I would write build my SQL statement dyanamically, adding column names and value names depending on values that had been passed to the page.
In SQL server I can dynamically add the value using a parameter, but it would seem to be the case the column names have to be hard coded. Is this true, or is there a way that I can dynamically build the column list on the basis of the parameters passed to the procedure?
Cheers.
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
|