Jump to content

Kexi/Handbook/Building Simple Databases/Designing Database Tables: Difference between revisions

From KDE Wiki Sandbox
Yurchor (talk | contribs)
m add formatting
Yurchor (talk | contribs)
m add prevnext
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
==Designing Database Tables==
===Designing Database Tables===


First, there will be two tables added to your database: '''''persons''''' and '''''phone_numbers'''''. These are exactly the same tables as described in chapter Database and spreadsheet. A layout for Persons can be found in section Data integrity and validity in that chapter.  
First, there will be two tables added to your database: '''''persons''''' and '''''phone_numbers'''''. These are exactly the same tables as described in chapter Database and spreadsheet. A layout for Persons can be found in section Data integrity and validity in that chapter.  
Line 8: Line 8:


# The Table Designer's window will appear. Looking at the top of designer's window you will notice that '''Kexi''' proposed you a generic name like template for the new table. The table design is not saved yet so you will be able to assign more proper name later. Moreover, because of the same reason, the table name is not yet visible in the '''Project Navigator'''.
# The Table Designer's window will appear. Looking at the top of designer's window you will notice that '''Kexi''' proposed you a generic name like template for the new table. The table design is not saved yet so you will be able to assign more proper name later. Moreover, because of the same reason, the table name is not yet visible in the '''Project Navigator'''.
{{Prevnext2
|prevpage=Special:MyLanguage/Kexi/Handbook/Building_Simple_Databases
|prevtext=Building Simple Databases
|nextpage=Special:MyLanguage/Kexi/Handbook/Building_Simple_Databases/Designing_Database_Tables/The_Table_Designer_window
|nexttext=The Table Designer window
|index=Special:MyLanguage/Kexi/Handbook|indextext=Back to menu
}}


[[Category:Kexi]]
[[Category:Kexi]]
[[Category:Tutorials]]
[[Category:Tutorials]]
</translate>
</translate>

Revision as of 08:46, 20 October 2011

Designing Database Tables

First, there will be two tables added to your database: persons and phone_numbers. These are exactly the same tables as described in chapter Database and spreadsheet. A layout for Persons can be found in section Data integrity and validity in that chapter.

  1. Select Insert->Table... from the Menubar. You can also use the button Create object: table on the Project Navigator's toolbar.
  1. The Table Designer's window will appear. Looking at the top of designer's window you will notice that Kexi proposed you a generic name like template for the new table. The table design is not saved yet so you will be able to assign more proper name later. Moreover, because of the same reason, the table name is not yet visible in the Project Navigator.