Поиск симлинков в текущей директории (рекурсивно):
find . -type l
Просмотр, куда ведет симлинк:
readlink /path/to/my/symlink
find . -type l
readlink /path/to/my/symlink
StringWriter strWr = new StringWriter();
PrintWriter writer = new PrintWriter(strWr);
new Throwable().printStackTrace(writer);
logger.severe(strWr.toString());
SQL BEGIN execute immediate('alter session set ...');execute immediate('alter session set ...'); END;
SELECT COUNT(DISTINCT i.INDEX_NAME)
FROM dba_ind_columns i
JOIN dba_tab_columns c
ON (c.TABLE_NAME = i.TABLE_NAME AND c.OWNER = i.TABLE_OWNER AND c.COLUMN_NAME = i.COLUMN_NAME)
WHERE
(UPPER(c.DATA_TYPE) LIKE 'VARCHAR%'
OR UPPER(c.DATA_TYPE) LIKE 'CHAR%')