Home All Groups Group Topic Archive Search About

Create table using data from another table

Author
10 Feb 2006 12:46 PM
sabi
Hi,
How could I create a new table dynamically where columns names are data
from another table?

Example:
I have a table "Table1" with one column "T1Col"
The column contains following data:
"Row1"
"Row2"
"Row3"

Now I would like to "read" data from Table1 and create a new table
Table2 which will contain columns "Row1", "Row2" and
"Row3".

Any help will be appreciated.

Thank you in advance.

Author
10 Feb 2006 12:55 PM
ML
Google for "transpose" or "cross-tab" or search this newsgroup.


ML

---
http://milambda.blogspot.com/

AddThis Social Bookmark Button