Code Comparison in Oracle DB and SVN

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Code Comparison in Oracle DB and SVN



I need a help of Tool or script that I can check If I can compare the Oracle DB files that are committed to SVN or Not?



I need to check the compiled files in Oracle only.



Can anyone help me on this?



Thanks,
Dhaval.





What do you mean with "Oracle DB files"?
– Wernfried Domscheit
Aug 8 at 6:18





Wernfried, our Schema SQL files or ddl files etc.
– dhaval shah
Aug 8 at 6:22





So as I have understand you have files on your machine and you want to check if they are on svn right ? so you can check out the scripts from svn localy to a folder then compare the 2 folder (there many free tool on the internet or you can develop a your own tool) the one are missing you put them in one folder then search fo there contents
– Moudiz
Aug 8 at 7:23


check out





Never mention "Tool or script" in SO. It is off-topic and will most likely to be voted to close.
– Kaushik Nayak
Aug 8 at 8:14




1 Answer
1



This might be difficult because even your DDL files in svn are most like different to what you would get from database by DBMS_METADATA.GET_DDL() for example.


DBMS_METADATA.GET_DDL()



For DML scripts (i.e. UPDATE, INSERT, DELETE statements) I don't see any possibility.



However, for PL/SQL code you can select code from view USER_SOURCE and compare with your files in svn.


USER_SOURCE






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS