From 6e490c8af1aace2ecdac39676b2d142d98542f0f Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 27 Feb 2007 08:41:51 +0000 Subject: [PATCH] Fixed problem with listing source-only columns --- .../tools_migrate_with_insert/00_GENERATE_INSERT_AS.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/migration/tools_migrate_with_insert/00_GENERATE_INSERT_AS.sql b/migration/tools_migrate_with_insert/00_GENERATE_INSERT_AS.sql index 12dcf548a3..3b7e9a3dc1 100644 --- a/migration/tools_migrate_with_insert/00_GENERATE_INSERT_AS.sql +++ b/migration/tools_migrate_with_insert/00_GENERATE_INSERT_AS.sql @@ -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;