change dialect table from ugly format to list table

This commit is contained in:
iElectric 2010-07-08 18:50:28 +02:00
parent a3a1e24da1
commit 20e9e7c7c5

View File

@ -39,39 +39,79 @@ Download and Development
download download
.. _dialect-support: .. _dialect-support:
Dialect support Dialect support
--------------- ---------------
+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ .. list-table::
| Operation / Dialect | :ref:`sqlite <sqlite-d>` | :ref:`postgres <postgres-d>` | :ref:`mysql <mysql-d>` | :ref:`oracle <oracle-d>` | :ref:`firebird <firebird-d>` | mssql | :header-rows: 1
| | | | | | | | :widths: 25 10 10 10 10 10 11
+=========================================================+==========================+==============================+========================+===========================+===============================+====================+
| :ref:`ALTER TABLE RENAME TABLE <table-rename>` | yes | yes | yes | yes | no | not supported | * - Operation / Dialect
| | | | | | | | - :ref:`sqlite <sqlite-d>`
+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ - :ref:`postgres <postgres-d>`
| :ref:`ALTER TABLE RENAME COLUMN <column-alter>` | yes | yes | yes | yes | yes | not supported | - :ref:`mysql <mysql-d>`
| | (workaround) [#1]_ | | | | | | - :ref:`oracle <oracle-d>`
+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ - :ref:`firebird <firebird-d>`
| :ref:`ALTER TABLE ADD COLUMN <column-create>` | yes | yes | yes | yes | yes | not supported | - mssql
| | (with limitations) [#2]_ | | | | | | * - :ref:`ALTER TABLE RENAME TABLE <table-rename>`
+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ - yes
| :ref:`ALTER TABLE DROP COLUMN <column-drop>` | yes | yes | yes | yes | yes | not supported | - yes
| | (workaround) [#1]_ | | | | | | - yes
+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ - yes
| :ref:`ALTER TABLE ALTER COLUMN <column-alter>` | yes | yes | yes | yes | yes [#4]_ | not supported | - no
| | (workaround) [#1]_ | | | (with limitations) [#3]_ | | | - not supported
+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ * - :ref:`ALTER TABLE RENAME COLUMN <column-alter>`
| :ref:`ALTER TABLE ADD CONSTRAINT <constraint-tutorial>` | no | yes | yes | yes | yes | not supported | - yes (workaround) [#1]_
| | | | | | | | - yes
+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ - yes
| :ref:`ALTER TABLE DROP CONSTRAINT <constraint-tutorial>`| no | yes | yes | yes | yes | not supported | - yes
| | | | | | | | - yes
+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ - not supported
| :ref:`RENAME INDEX <index-rename>` | no | yes | no | yes | yes | not supported | * - :ref:`ALTER TABLE ADD COLUMN <column-create>`
| | | | | | | | - yes (with limitations) [#2]_
+---------------------------------------------------------+--------------------------+------------------------------+------------------------+---------------------------+-------------------------------+--------------------+ - yes
- yes
- yes
- yes
- not supported
* - :ref:`ALTER TABLE DROP COLUMN <column-drop>`
- yes (workaround) [#1]_
- yes
- yes
- yes
- yes
- not supported
* - :ref:`ALTER TABLE ALTER COLUMN <column-alter>`
- yes (workaround) [#1]_
- yes
- yes
- yes (with limitations) [#3]_
- yes [#4]_
- not supported
* - :ref:`ALTER TABLE ADD CONSTRAINT <constraint-tutorial>`
- no
- yes
- yes
- yes
- yes
- not supported
* - :ref:`ALTER TABLE DROP CONSTRAINT <constraint-tutorial>`
- no
- yes
- yes
- yes
- yes
- not supported
* - :ref:`RENAME INDEX <index-rename>`
- no
- yes
- no
- yes
- yes
- not supported
.. [#1] Table is renamed to temporary table, new table is created followed by INSERT statements. .. [#1] Table is renamed to temporary table, new table is created followed by INSERT statements.
@ -79,6 +119,7 @@ Dialect support
.. [#3] You can not change datatype or rename column if table has NOT NULL data, see http://blogs.x2line.com/al/archive/2005/08/30/1231.aspx for more information. .. [#3] You can not change datatype or rename column if table has NOT NULL data, see http://blogs.x2line.com/al/archive/2005/08/30/1231.aspx for more information.
.. [#4] Changing nullable is not supported .. [#4] Changing nullable is not supported
Documentation Documentation
------------- -------------