Adaptive Server Reference Manual: Commands

Read about updates, corrections, and clarifications for Adaptive Server Reference Manual: Commands.

reorg

The reference page for reorg includes this incorrect note:

Note: You cannot run reorg on text that has an indid of 255 in sysindexes.

Replace with:

Note: reorg has no effect on space allocated to text or image columns.

alter table

The Auditing section of the alter table reference page includes this bullet item, which is incorrect:

Replace with this information:
  • If the set option for set transfer table [on | off] is:
    • on – Adaptive Server prints SET TRANSFER TABLE ON in the extra info in the audit record.
    • off – Adaptive Server prints SET TRANSFER TABLE OFF.

create table

Add this text to the "Information in extrainfo" column of the Auditing section of the create table reference page:

dump database and dump transaction

There are two updates for dump database and dump transaction:

execute

The Usage section includes this bullet item:

You cannot supply string and char_variable options to execute the following commands: begin transaction, commit, connect to, declare cursor, rollback, dump transaction, dbcc, set, use, or nested execute commands.

Adaptive Server currently uses a more relaxed list, which includes:

set

The definitions for the following set options should now read:

transfer table

Add the following information to the Usage section of the transfer table reference page:

When transfer table runs into an error (such as duplicate key), only the underlying error number is reported, but not the error message. This makes it difficult for a user to understand why the statement was aborted. For example:

Msg 2633, Level 20, State 1
Server 'SYB155', Line 1
TRANSFER TABLE failed to insert a row to table 'my_tab'. The indicated error was 2601.
Msg 16025, Level 16, State 1
Server 'SYB155', Line 1
TRANSFER TABLE my_tab: command failed with status 2633.

To retrieve the error message, manually query master..sysmessages. For example, if 2601 is your error number, enter:

select * from master..sysmessages where error = 2601

See the Troubleshooting Guide for more information about error 2601.