If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Dynamic Create Table in Stored Procedure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-06-05, 07:31
DonAmir DonAmir is offline
Registered User
 
Join Date: Nov 2005
Posts: 5
Question Dynamic Create Table in Stored Procedure

Hi,
Sorry, I know this is a very easy question.
I as a amature SQL learner because of my college project have to create a stored procedure in a SQL SERVER Database with this condition :
-get Columns and datatypes as parameters like this :
col1,datatupe1,col2,datatype2,....
-create table with this properties ... .
I have some problem about syntax.
I would appreciate your help.
Reply With Quote
  #2 (permalink)  
Old 11-08-05, 10:39
Brett Kaiser Brett Kaiser is offline
Window Washer
 
Join Date: Nov 2002
Location: Jersey
Posts: 10,303
Why don't you cut and paste the assignment as is so we can all see it.

Better yet, why don't you go to a lab and ask for help?

I find it very hard to believe that the assignment is to build objects dynamically.

What school did you say this was?
__________________
Brett
8-)

It's a Great Day for America everybody!

dbforums Yak CorralRadio 'Rita
dbForums Member List
I'm Good Once as I ever was

The physical order of data in a database has no meaning.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On