EPUB | CHM | PDF

TPSQLTable.Properties.Comment

Top Previous Next

Contains the description assigned to a table.

Syntax:

property Comment: string;

Description:

Use read-only Comment property to get the description assigned to a table.

You can set new description by using COMMENT SQL command, see Postgres help, chapter "Reference, SQL Commands, COMMENT".

Example:

PSQLQuery1.SQL.Text := 'COMMENT ON ' +
  PSQLTable1.TableName +
  'IS ''Some new comment''';
PSQLQuery1.ExecSQL;