![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 07 Dec 2007 @ 19:20:23 GMT
<-- Anonymously Posted: Fri, 7 Dec 2007 13:12 --> And don't forget comments can be defined for the table as well as individual columns:
SELECT 'COMMENT ON '
||trim(DatabaseName)||'.'||trim(TableName)
||' IS '''||CommentString||''';'
FROM DBC.Tables
WHERE CommentString IS NOT NULL
AND DatabaseName='MyDB'
AND TableName='MyTable';
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||