Dynamically add table in database
Hi,
I am doing web application, In that application i want to add database table dynamically without giving any field names at execution time. At the execution time i will import once excel document based on the excel we need to create db table.
Thanks,
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


onkar mishra2 reputationPosted Jan 5, 2009, 12:39 AM EST
just use create table with select statement.
onkar
Guest UserRank #1,422 · 1.2K reputationPosted Jan 5, 2009, 11:12 AM EST
INTO
FROM ....
This will create a new table based on the given field names and populate it with the corresponding data from the query.
Farooque AliRank #7,940 · 231 reputationPosted Jan 6, 2009, 12:09 AM EST