To obtain the name of a column using a db link in Oracle 11g, you can use the following SQL query:
SELECT COLUMNNAME FROM ALLTABCOLUMNS@DBLINKNAME WHERE TABLENAME = 'TABLENAME' AND COLUMNID = COLUMN_NUMBER;
Replace the following placeholders in the query:
Execute the query and it will return the name of the column you specified.
Asked: 2023-06-11 05:16:15 +0000
Seen: 13 times
Last updated: Jun 11 '23