Basic HTML version of Foils prepared April 15 1997

Foil 28 Access SQL - IV

From Examples of JDBC -- Microsoft Access CPS616 -- Information Track of CPS -- Spring Semester 97. by Sangeeta Aggarwal,Tom Pulikal,Udayan Pravate(Nancy McCracken) *

1 The SELECT INTO Statement: It is unique to Access SQL, Used to create a new table from the rows in another table or query.
2 Syntax: SELECT column1 [,column2[,..]] INTO new-table
3 Example: SELECT OrderId, OderDate INTO tblJonesOrders FROM tblOrder WHERE CustomerId=9;
4 Access SQL supports 4 DDL (Data Definition Language) statements:
  • CREATE TABLE - Creates a new table schema
  • ALTER TABLE - Modifies an existing table schema
  • CREATE INDEX - Creates a new index
  • DROP - Deletes a table schema or an index
5 Data Access Objects (DAO) is another method, like DDL, to programmatically create and manipulate table schemas in Access.

Table Font Size


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Aug 14 1997