Will Access Expose DDL?

  • Thread starter Thread starter Smartin
  • Start date Start date
S

Smartin

Is there a way to coerce Access to expose the DDL for all tables and
relationships in an Access database?
 
Is there a way to coerce Access to expose the DDL for all tables and
relationships in an Access database?

No, not within Access itself. Unlike in SQL, the information is not
stored in that manner within the database.

Tools... Analyze... Documentor is about as close as you can get.

Someone has probably written a (VERY nontrivial) VBA routine to crawl
through the DAO or ADO object model and actually construct the SQL
strings involved, but I haven't seen such code.

John W. Vinson[MVP]
 
It's a bit easier now than it used to be, but the problem
is that it is still not possible to re-create constraints and
default values using DDL. Let alone lookup fields and
SubDataSheet properties.

(david)
 
It's a bit easier now than it used to be, but the problem
is that it is still not possible to re-create constraints and
default values using DDL.
True...

Let alone lookup fields and
SubDataSheet properties.

not that anyone who prefers DDL would ever WANT to! <g>

John W. Vinson[MVP]
 

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

Back
Top