Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Create Table Query

Status
Not open for further replies.

tubbsy123

Programmer
Dec 2, 2004
19
0
0
AU
Hi,

I wonder if you could help me. I am making a query which creates 3 tables. I come from an Oracle SQL background, where you can write multiple Create Table queries. Unfortunately this doesn't seem to be the case with Access.

Can anybody explain how to do this in Access please?

A simplified version of my tables are:

Create Table Gains(
PES Text (255),
OldSupplier Text (255),
Month Date);

Create Table Loss(
PES Text (255),
OldSupplier Text (255),
Month Date);

Create Table Mid(
PES Text (255),
OldSupplier Text (255),
Month Date);

I do not require any constraints or primary keys within these tables.

I hope this is enough information.
Thankyou for your help

Regards

Tubbsy123
 
you do it the same way in access, although the DDL is sllightly different

see
not sure if you can submit more than one statement at a time, though (as in other databases, where you can string several statements together with, for example, semi-colons)

rudy | r937.com | Ask the Expert | Premium SQL Articles
SQL for Database-Driven Web Sites (next course starts March 6 2005)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top