create table command with all parameters using Stored procedure

tracmonali

Member
Joined
Jul 16, 2008
Messages
6
Programming Experience
1-3
Hello,

I wish to write a create table command in stored procedure. The table name and all the fields (columns) of the table, which is created at run time, are passed as parameters to the stored procedure. I have seen blogs where only the tablename is passed as parameter to the stored procedure. All the column names are however fixed. Could I have some guidance in this direction?

Just a note: I am using ASP.NET, VB.NET as my GUI. I am accepting parameters from the user with the help of checkboxes. So if few check boxes have NULL ( unchecked) the parameters sent to stored procedure will vary.
 
Back
Top