• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

7. Database System Architecture > 7.5. Data Definition Languages

Data Definition Languages

We have already mentioned that a DBMS needs to provide a method for defining new databases. This is done by providing a data definition language (DDL) to the programmer. A DDL is not a procedural language; that is, its instructions do not actually perform operations. Rather, a DDL is a definitional language.

The Jet Data Definition Language

Example 7-1 illustrates the use of the Jet data definition language. The code will run in Visual Basic or in an Access code module, so feel free to key it in and try it yourself. (Use a new database in Access, since some of this code will conflict with the LIBRARY database that we have been working with in earlier chapters.) The purpose is to create a new database called LIBRARY, along with a table called BOOKS, containing two fields, ISBN and TITLE, and one index. (Don’t worry if some portions of this code don’t make sense to you at this point.) Note that Access uses a space followed by an underscore character ( _ ) to indicate that the next line is a....


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint