on 08-28-2013 4:19 PM
Hi folks,
I'm trying to read comments from specific table fields or the table itself via SQL editor in studio. For example I know I can easily add a comment to a field like this;
COMMENT ON TABLE "MYSCHEMA"."LFM2" is 'Vendor Master Record: Purchasing Data'
COMMENT ON COLUMN "MYSCHEMA"."LFM2"."MANDT" is 'Client'
Now what is the syntax to READ these comment values via SQL editor?
Thanks
-Patrick
Hi Patrick,
I am bit confused, but could you not get the comments from TABLES and TABLE_COLUMNS
select table_name, comments from tables where table_name = 'my_table_name';
select table_name, column_name, comments from table_columns where table_name = 'my_table_name' and column_name = 'my_column_name';
It works for me.
OR
Are you looking for something else.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.