Is there any way in SQL to create tables from the list of item names from an existing table ? for example i have this table
table1
item name quantity cost
item1 2 20
item2 3 30
out put tables
item1(table)
item name quantity cost
item1 2 20
item2(table)
item name quantity cost
item2 3 30
any bit of info would be helpful. thanks in advance
1 Replies - 504 Views - Last Post: 06 July 2012 - 02:47 AM
#1
is it possible to create tables from the list of items of a column?
Posted 06 July 2012 - 12:58 AM
Replies To: is it possible to create tables from the list of items of a column?
#2
Re: is it possible to create tables from the list of items of a column?
Posted 06 July 2012 - 02:47 AM
It's possible, yes, but the more important question is: Why do you want to do this? You should never have to generate tables based on data. The table structure should be fixed, and all data should go into the existing tables, not become new tables.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|