How to retrieve DDL script for table in mdb file

D

Dhananjay

Hi All,

I am trying to retrieve DDL script for mdb tables.
script like..

"CREATE TABLE TB_NAME ([FIELD1] TEXT(30), [FILED2] MEMO)"

Currently i am using DAO COM Library to extract other table informations.
But I didnt get any method to get DDL Script for table.

Is there any other library to retrieve the script?

Thanks for any HELP..

Dhananjay
 
R

RoyVidar

Dhananjay said:
Hi All,

I am trying to retrieve DDL script for mdb tables.
script like..

"CREATE TABLE TB_NAME ([FIELD1] TEXT(30), [FILED2] MEMO)"

Currently i am using DAO COM Library to extract other table
informations. But I didnt get any method to get DDL Script for
table.

Is there any other library to retrieve the script?

Thanks for any HELP..

Dhananjay

I'm sorry, I don't think you will find such scripts anywhere. If
you really need them, I think you'll need to extract the information
through the methods you're using (or the ADO OpenSchema, or ADOX...),
and build the DDL yourself.

Perhaps if you tell us what you wisht to achieve, someone can assist
in finding relevant methods, workarounds etc
 
D

Douglas J. Steele

Unlike SQL Server, Access doesn't create DDL script.

There are 3rd party products that can do this, but I'm afraid I don't have
the references to any of them handy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top