Dropping Tables - Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual

Table of Contents

Advertisement

Working with tables
Altering tables in
Sybase Central
Altering tables in a
join index

Dropping tables

124
The property sheets for tables and columns display all the table or column
attributes. You can alter a table definition in Sybase Central by displaying the
property sheet for the table or column you wish to change, altering the property,
and clicking OK to commit the change.
You cannot
,
ADD
DROP
join condition of a join index. To alter joined columns, you must first drop the
join index, alter the table, and then recreate the join index. See "Using join
indexes" for complete information on join indexes.
The following
DROP TABLE
and then removes the definition of the
DROP TABLE skill
Like the
statement, the
CREATE
before and after dropping the table. This makes permanent all
COMMIT
changes to the database since the last
The
statement also drops all indexes on the table, except if any column
DROP
in the table participates in a join index.
If you only want to remove data rows but not the table itself, use the
statement. If you truncate a table while other users are
TRUNCATE TABLE
reading from it, the normal rules of table versioning apply, that is, old table
versions remain until readers' transactions complete; see Chapter 8,
"Transactions and Versioning" for details.
and
DROP TABLE
TRUNCATE TABLE
occur. The size of the data does not effect the speed of the operation.
For a full description of the
Manual.
To drop a table in Sybase Central:
1
Connect to the database.
2
Click the Tables folder for that database.
3
Right-click the table you wish to delete, and select Delete from the pop-up
menu.
or
a base table column that participates in a
MODIFY
statement deletes all the records in the
table from the database
skill
statement automatically executes a
DROP
or
COMMIT
are very fast, taking only seconds to
statement, see Adaptive Server IQ Reference
DROP
table
skill
.
ROLLBACK

Advertisement

Table of Contents
loading

Table of Contents