~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/alter_table.rst

  • Committer: Brian Aker
  • Date: 2010-09-22 22:29:55 UTC
  • mto: (1787.3.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1789.
  • Revision ID: brian@tangent.org-20100922222955-cg1bddv4b72jwe31
Fix enum at being an intefer (which is what PG did, and it saves on
alignment issues).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
ALTER TABLE
2
 
===========
3
 
 
4
 
An ALTER statement modifies the definition (structure) of a table inside Drizzle. 
5
 
The types of objects that can be altered depends on which RDBMS is being used. 
6
 
 
7
 
The ALTER TABLE statement is used to change a table definition by: 
8
 
 
9
 
1) Adding, dropping, modifying table columns 
10
 
2) Adding and dropping constraints 
11
 
3) Enabling and Disabling constraints 
12
 
4) Rename a table