That is my understanding, yes.
Now that I have a bit more time, I did the research to find the file. If you look in your ConnectionServer folder you should find sub-folders for each database. For this example, I will use Oracle. In the Oracle folder is a file named oracle.stg. The “.stg” is short for strategy. Open that file in a text editor (Notepad will do, do not use Word or any sort of document processor). You will find this code:
<Strategy Name="Classes_and_Objects">
<Type>OBJECT</Type>
<SQL>SELECT
U1.table_name,'|',
U1.column_name,'|',
translate(initcap(U1.table_name),'_',' '),'|',
translate(initcap(U1.column_name),'_',' '),'|',
U1.table_name||'.'||U1.column_name,'|',
' ','|',
decode(SUBSTR(U1.DATA_TYPE,1,1),'N','N','F','N','D','D','C'),'|',
SUBSTR(U2.comments,1,474),'|',
'O','|'
FROM USER_TAB_COLUMNS U1,USER_COL_COMMENTS U2
WHERE
U1.table_name=U2.table_name
and U1.column_name=U2.column_name
UNION
SELECT
S.SYNONYM_NAME,'|',
U1.column_name,'|',
translate(initcap(S.SYNONYM_NAME),'_',' '),'|',
translate(initcap(U1.column_name),'_',' '),'|',
S.SYNONYM_NAME||'.'||U1.column_name,'|',
' ','|',
decode(SUBSTR(U1.DATA_TYPE,1,1),'N','N','F','N','D','D','C'),'|',
SUBSTR(U2.comments,1,474),'|',
'O','|'
FROM ALL_TAB_COLUMNS U1, ALL_COL_COMMENTS U2, ALL_OBJECTS O, USER_SYNONYMS S
WHERE
S.table_owner=O.owner
AND S.table_name=O.object_name
AND (O.OBJECT_TYPE='TABLE' OR O.OBJECT_TYPE='VIEW')
AND O.owner=U1.owner
AND O.object_name=U1.table_name
AND U1.owner=U2.owner
AND U1.table_name=U2.table_name
AND U1.column_name=U2.column_name</SQL>
See where it references USER_SYNONYMS? I believe that in the past I have changed that to ALL_SYNONYMS in order to get a list of every public synonym on the database.
Dave Rathbun
(BOB member since 2002-06-06)