I will venture to say that it is not hardly practical. Each statement has to
be enclosed in double quotes and executed separately. There are also differences
in functions and delimiters. Just an example:
Sub CreateProductPricesTable()
With CurrentProject.Connection
..Execute _
"CREATE TABLE ProductPrices" & _
"(sku INTEGER NOT NULL" & _
", price_date CHAR(8) NOT NULL" & _
", price DECIMAL (12,2) NOT NULL" & _
", PRIMARY KEY (sku,price_date,price));"
End With
End Sub
On Fri, 09 Nov 2007 05:12:09 -0800, Ale <(E-Mail Removed)> wrote:
>Hi all,
>how can I execute a large amount of DDL Queries on Access 2000?
>
>I've a DDl/SQL Script file which defines a data structure with CREATE
>TABLE, ALTER TABLE UPDATE TABLE, etc. etc.
>I know how to execute this script on MySQL, MS Sql Server, but don't
>know how execute it on access 2000 
>
>Thank you all.
>Bye
>
>Ale