DESCRIBE
DESCRIBE
DESCRIBE — obtain information about a prepared statement or result set
Synopsis
DESCRIBE [ OUTPUT ] prepared_name USING [ SQL ] DESCRIPTOR descriptor_name
DESCRIBE [ OUTPUT ] prepared_name INTO [ SQL ] DESCRIPTOR descriptor_name
DESCRIBE [ OUTPUT ] prepared_name INTO sqlda_nameDescription
DESCRIBE retrieves metadata information about the result columns contained in a prepared statement, without actually fetching a row.
Parameters
prepared_name
The name of a prepared statement. This can be an SQL identifier or a host variable.
descriptor_name
A descriptor name. It is case sensitive. It can be an SQL identifier or a host variable.
sqlda_name
The name of an SQLDA variable.
Examples
Compatibility
DESCRIBE is specified in the SQL standard.
See Also
ALLOCATE DESCRIPTOR, GET DESCRIPTOR
原文:PostgreSQL 15.19 Documentation(英文原文,待翻譯)
Last updated
Was this helpful?