Unpartitioning a Table

Remove all partitioning from a table, preserving the data in the table.

Prerequisites
Database Version Table Partition Privileges
SAP Sybase IQ 15.3 and 15.4 Table owned by self – none.
Table owned by other users – you must have one of:
  • DBA authority
  • ALTER permission on the table
SAP Sybase IQ 16.0 Table owned by self – none.
Table owned by other users – you must have one of:
  • ALTER ANY TABLE system privilege
  • ALTER ANY OBJECT system privilege
  • ALTER permission on the table
Task
Warning!  You cannot hash or hash-range partition an existing table. You can only range partition an existing table. Therefore, if you unpartition a hash or hash-range partitioned table, you cannot repartition it as a hash or hash-range partitioned table. See If you accidentally unpartition a hash or hash-range parti
  1. In the Perspective Resources view, select the resource, and select Resource > Administration Console.
  2. In the left pane, expand IQ Servers > Schema Objects > Tables, and then select Tables.
  3. Select an IQ main store table from the right pane and either:
    • Click the arrow to the right of the name and select Properties, or
    • From the Administration Console menu bar, select Resource > Properties.
    The Table Properties view appears.
  4. In the left pane, select Partitions.
  5. Click Unpartition.
    Since unpartitioning removes all partitions, it is not necessary to select partitions first.
  6. Click Yes to confirm the unpartition.
  7. Do one of:
    • Click OK to update any changes to the database and exit the properties view.
    • Click Apply to update any changes to the database, but remain in the properties view.
    • Click Cancel to cancel any changes not updated to the database and exit the properties view.
Related tasks
Creating a Range Partition on an Existing Table
Creating a Range Subpartition to an Existing Hash-Range Partitioned Table
Deleting a Range Partition or Subpartition
Rebuilding a Hash or Hash-Range Partitioned Table
Merging Partitions
Splitting a Partition
Moving a Partition
Managing Column Storage in a Table Partition
Viewing or Modifying Table Partition Properties
Authenticating a Login Account for a Managed Resource
Related reference
Table Partition Privilege Summary