I'm using Toad Data Point 4.2.1.303 (64 bit) with a teradata
select * from dbc.dbcinfo;
If i create a table and comment on it:
CREATE TABLE xyz
( test number);
comment on xyz
'this is a table comment';
comment on xyz.test
'this is a column comment';
I can see the data in the Data Dictionary
select tablename,columnname,commentstring
from dbc.columnsv
where tablename='XYZ'
select tablename,commentstring
from dbc.tablesv
where tablename='XYZ'
If i use the export from the object explorer (generate sql --> create script --> to editor), i don't get the comments
This is what i get:
CREATE SET TABLE xyz ,NO FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL,
CHECKSUM = DEFAULT,
DEFAULT MERGEBLOCKRATIO
(
test NUMBER)
PRIMARY INDEX ( test );
Is there a option to get the comments?