Truncating a table deletes all data rows.
PrerequisitesÂ
Before you can delete all table rows, connect to the database server through a connection profile.
-
In the Databases folder in Enterprise Explorer, under the database connection profile, expand the navigation tree for the appropriate database and schema owner.
Database |
Steps |
From an ASE connection profile |
- Expand the Databases folder.
- Expand the tree for a database
and then the tree for the appropriate schema owner.
|
From a SQL Anywhere or Sybase IQ connection profile |
- Expand the
tree for a database.
- Expand the
Schemas folder and then the tree for the appropriate schema owner.
|
-
Expand the Tables folder, right-click the table for which you want to delete all data rows, and select Truncate Table.
-
Select Yes to confirm that you want to delete all rows of table data.