Fixed problem with listing source-only columns

This commit is contained in:
Carlos Ruiz 2007-02-27 08:41:51 +00:00
parent 2d7c2fd1da
commit 6e490c8af1
1 changed files with 3 additions and 3 deletions

View File

@ -95,11 +95,11 @@ BEGIN
FROM all_tab_columns
WHERE owner = dbtarget AND table_name = t.table_name)
LOOP
IF liscoltarget IS NULL
IF liscolsource IS NULL
THEN
liscoltarget := c.column_name;
liscolsource := c.column_name;
ELSE
liscoltarget := liscoltarget || ', ' || c.column_name;
liscolsource := liscolsource || ', ' || c.column_name;
END IF;
END LOOP;