Skip to Main Content

Oracle Developer Tools for Visual Studio

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Issues with Schema Compare

Tom WarfieldJul 19 2024

Using VS 2022 and ODT 2019. Created new Project of type “Oracle Database Project Version2”. Did “Import Schema”. Then, did Oracle Schema Compare between the Project (source) and the source Schema (Target).

  1. What is the meaning of “Not Compared”? Are there certain things (like use of synonyms, db links, XMLTABLE()) that cause this? If so do you have a complete list?
  2. Why would it say “Only in Target” for a stored procedure, when it exists in both places? Again, are the certain SQL constructs that might cause this?

Apparently XMLTABLE() is at least one problem - for example, here is a stored procedure that compares as "Identical":

CREATE OR REPLACE PROCEDURE "TEST_SCHEMA"."TEST_PROC"
as
myval varchar2 (100);
BEGIN
select min (val) into myval
from
(select cast (X.COLUMN_VALUE as varchar2 (100)) as val
from (select 'A' as column_value from dual
union all
select 'B' from dual
) X
)
;

dbms_output.put_line (myval);

end;

And here is one that compares as “Only in Target”.

CREATE OR REPLACE PROCEDURE "TEST_SCHEMA"."TEST_PROC2"
as
myval varchar2 (100);
BEGIN
select min (val) into myval
from
(select cast (X.COLUMN_VALUE as varchar2 (100)) as val
from xmltable (('"A","B"')) X
)
;

dbms_output.put_line (myval);

end;

Comments

Arnoschots-Oracle Apr 22 2020 — edited on Apr 22 2020

Hi,

The "sudo al-config -s" doesn't work on my Autonomous Linux instance.

Command output:

[opc@opsserver ~]$ sudo al-config -s

/sbin/al-config: illegal option -- s

Configure OCI notification service topic OCID:

  Usage:

    al-config -T [topic OCID]

  Options:

    -T [topic OCID] OCI notification service topic OCID

Configure OCI CLI profile:

  Usage:

    al-config -u [user OCID] -t [tenancy OCID] -k [key file]

  Options:

    -u [user OCID] OCI User OCID

    -t [tenancy OCID] OCI Tenancy OCID

    -k [key file] from which we obtaion the API private key

    -p [key passphrase file] from which we obtain API key passphrase. Provide

       this if API private key is encrypted. If not provided, user will be

       prompted to enter passphrase.

1 - 1

Post Details

Added on Jul 19 2024
1 comment
151 views