EPUB | CHM | PDF

TPSQLCopy.Properties.Tablename

Top Previous Next

Specifies the name of an existing table.

Syntax:

property Tablename : string;

Description:

Set the name (optionally schema-qualified) of an existing table used with COPY command.

If both Tablename and SQL specified then TPSQLCopy discards Tablename value and uses SQL instead. If TPSQLCopy sends data to server then SQL is ignored silently.

TPSQLCopy can only be used with plain tables, not with views. However, you can set SQL to SELECT * FROM viewname.

See also: SQL