Quantcast
Channel: Toad for Oracle Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4385

Compareing views create wrong script

$
0
0

With the new schema Compare in Toad 12.11.0.95, scripts are created for views with aliases and inner joins, there are missing the alias list.

Example:

Generated diff scrip:

CREATE OR REPLACE VIEW V_POS
BEQUEATH DEFINER
AS
  SELECT wp.REF,wp.ref_we,we.REF_LAGER,we.REF_MAND,a.REF_SUB_MAND
  from INCOMING_POS wp inner join INCOMING we on (we.REF=wp.REF_WE) inner join ARTICLE a on (a.REF=wp.REF_AR)

Correct:

CREATE OR REPLACE VIEW V_PCD_WE_POS
(REF,REF_WE,REF_LAGER,REF_MAND,REF_SUB_MAND,REF_BEST_POS)
BEQUEATH DEFINER
AS
  SELECT wp.REF,wp.REF_WE,we.REF_LAGER,we.REF_MAND,a.REF_SUB_MAND
  from INCOMING_POS wp inner join INCOMING we on (we.REF=wp.REF_WE) inner join ARTICLE a on (a.REF=wp.REF_AR)

Is this an error or is there an option to choose?


Viewing all articles
Browse latest Browse all 4385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>