Option 1: Programatically
Many database administrators (DBAs) use Structured Query Language (SQL) to perform many of their database tasks. To enter SQL, you need to open an interface that allows you to enter your code. For example, if you use SQL Server, you would normally use Query Analyzer.The following example is the basic code for creating a new database. Parameters can be added to this example if your requirements are more specific.
Code |
---|
|
Option 2: User Interface
Most database systems make it very easy to create a database via a user interface. Generally, it's just a matter of selecting an option from a menu, then providing a name for your database.The following examples demonstrate how to create a database in Microsoft Access.
- From the "File" menu, click on "New Database":
- Choose "Blank Database". (MS Access also gives you the ability to
choose from a template, but we'll just use a blank database here):
- Choose a location to save the database:
Your New Database
Once you've completed the above tasks, you should see a blank database, like this:What is a Table?
In database terms, a table is responsible for storing data in the database. Database tables consist of rows and columns.In the following example, the second row is highlighted in black:
OK, now lets go ahead and create a table.
0 komentar:
Post a Comment
Mohon Saran dan Komentarnya