Q. How do I copy a table structure 
Author Message
 Q. How do I copy a table structure

I'm having a problem which I'm sure is quite simple; I just can't figure it
out. I want to copy a structure of a table within a database and give it a
different name. I don't want to copy the records, just the table structure.
 Can anyone supply a sniplet of code to demonstrate how this is done. I've
already spent way too many hours trying to figure it out.

BTW..I know in Dbase or Clipper, I would just use a "COPY STRUCTURE"
command. VB just don't understand that :).

Any help would be appreciated.
Thanks



Mon, 21 Feb 2000 03:00:00 GMT  
 Q. How do I copy a table structure

 Uhh... with DAO, RDO, ADO, or ODBC?
... will you settle for an SQL statement?


Quote:
>I'm having a problem which I'm sure is quite simple; I just can't figure it
>out. I want to copy a structure of a table within a database and give it a
>different name. I don't want to copy the records, just the table structure.
> Can anyone supply a sniplet of code to demonstrate how this is done. I've
>already spent way too many hours trying to figure it out.

>BTW..I know in Dbase or Clipper, I would just use a "COPY STRUCTURE"
>command. VB just don't understand that :).

>Any help would be appreciated.
>Thanks



Tue, 22 Feb 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. HowTo Copy a Recordset from a Table to an identically structured table

2. Copying the structure of a table to a new table

3. Copying the structure of one Access table to a new Access table

4. copy table structure

5. Copying table structures in code

6. Newbie: How to copy Table structure?

7. Copy Foxpro 2.6 table structure

8. Creating .MDB in ADO; copying a table structure

9. How to copy structure of a table to another database

10. Copying Table structures

11. Newbie: How to copy Table structure?

12. Copy Table Structure

 

 
Powered by phpBB® Forum Software