简体   繁体   中英

How can I view the sql access generated to create an existing table?

如果表是使用 Access 创建的,我如何查找为创建该表而生成的 SQL Access?

You cannon see the original SQL used to create a table, but you can see the SQL that Access generates -or could be used- to create a table.

The SQL is basically a SELECT...INTO

Create a new query, then convert the query to a 'Make Table' query, Then display the SQL with a right-click context menu.

在此处输入图片说明

In this example the SQL generated is:

   SELECT Table1.ID INTO tbl_foo
   FROM Table1;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM