Editing Basic Database Terminology

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 +
= Work Flow Overview =
  
 +
== Just a bit of theory the may be helpful - Some Definitions ==
  
= Just a bit of theory the may be helpful - Some Definitions =
+
Databases
 +
    These encode data in a structured and efficiently searchable format. It also easily select subsets of
 +
    data and can sort those results. There are lots of different kinds, but one fairly standard one is a SQL or
 +
    relational database.
  
== Databases ==
+
Database File
These encode data in a structured and efficiently searchable format.  It also easily select subsets of
+
    The file ( or one of the files ) where database information is kept.  We are using sqllite, which keeps a whole database
data and can sort those results.  There are lots of different kinds, but one fairly standard one is a SQL or
+
    in one file.  This makes it very easy to move and/or backup a database.
relational database.
 
 
 
== Database File ==
 
The file ( or one of the files ) where database information is kept.  We are using sqllite, which keeps a whole database
 
in one file.  This makes it very easy to move and/or backup a database.
 
 
 
== Table, Record, Column ==
 
in a SQL data base data is stored in Tables ( many tables may be put in one database ).  A table consists of records ( also called rows. )  Each row is information about some "thing".  For example if the "thing" is a person a record
 
might contain the person's first name, last name, date of birth.... The table is much like a spread sheet with
 
the information on each person in a row.  Each of the items ( first name, last name, date of birth.... ) is called a column.
 
 
 
== SQL - Structured Query Language ==
 
This is the language used by relational databases.  Typically the system generated the required SQL and runs
 
it.  The user interface often shows the SQL which is quite a bit easier to read than it is to write.
 
It may give you useful feedback on what the system is doing.
 
 
 
== Text File ==
 
 
 
Not really a data base even if it contains data.  All files are codes for some data.  A text file ( often a .txt extension ) is one of the simpler encodings:
 
each byte in the file codes some text character, a letter in the alphabet, a number, a "newline" character.
 
normally the file is more or less readable by a human being.
 
Simple programs ( in windows perhaps notepad ) let you read/create/modify text files.
 
( Note: most word processors will easily read text files but they tend to s...... )
 
 
 
== Text Editor ==
 
 
 
A program to create and edit text file.  I have used Notepad++ on Windows.  Good text editors have
 
a lot of powerful features for the text including search and replace features.  You can do substantial
 
data manipulation and management just in your text editor and use it in conjunction with the database program.
 
 
 
In fact the text editor you select becomes much of the interface into your data.  Data is input through
 
text file,  the system can prepare blank input files.  Output is often in text file form.
 
Complicated selects may be specified in a text file. Records to be edited will be prepared for edit
 
as a text file, and after you edit the file, the changed data will be placed back into the database.
 
Custom database products use expensively programmed "windows" for database interactions.  This system
 
uses automatically programmed text files for database interactions.  Not as fancy, but no expensive
 
programming talent is required.
 
 
 
Geany is another good text editor that I would consider it runs on Windows, Linux, and Mac.
 
I am sure there are many other good ones.  If you have a strong preference try it out.
 
  
 +
Table, Record, Column
 +
    in a SQL data base data is stored in Tables ( many tables may be put in one database ).  A table consists of records ( also called rows. )  Each row is information about some "thing".  For example if the "thing" is a person a record
 +
    might contain the person's first name, last name, date of birth.... The table is much like a spread sheet with
 +
    the information on each person in a row.  Each of the items ( first name, last name, date of birth.... ) is called a column.
  
 +
SQL - Structured Query Language
 +
    This is the language used by relational databases.  Typically the system generated the required SQL and runs
 +
    it.  The user interface often shows the SQL which is quite a bit easier to read than it is to write.
 +
    It may give you useful feedback on what the system is doing.
  
 
[[Category:Python Easy DB]]
 
[[Category:Python Easy DB]]

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)