Oracle PL/SQL package version control [closed] - oracle

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
We are building an automation process which needs to be version controlled so we can rerun it with certain parameters potentially even years later. We have been discussing ways to achieve a level of "version control". We would like to keep the versions in Oracle in some form so you can relatively easily get them running again.
The decision was that we will need to use different names for the different versions like *_1, *_2, etc.
I have a couple of concerns with this. Firstly it requires diligence to always make a new version of the package, no matter how small the change would be, so the number of versions can easily get out of hand. Secondly you have no way of knowing if somebody has touched that version since it has been created and ran against a particular set of parameters. (You can get the last updated dates in Oracle tables and compare to the original run time but that's not particularly efficient and you don't know if it was just deleting a space or actual code change.)
Is there a tried and tested good alternative to this?

You may use EBR (Edition-Based Redefinition).
It is likely to solve all your problems.
Edition-based redefinition allows multiple versions of PL/SQL objects, views, and synonyms in a single schema, which makes it possible to perform upgrades of database applications with zero downtime.
If changes are small you can recompile your objects in the same edition.
You can create editions and actualize only those objects you want to change.
Changes will be isolated until you make your new edition available for other users and applications.
You can change edition using ALTER DATABASE DEFAULT EDITION = edition-name; statement
You can read more about EBR here
https://docs.oracle.com/cd/E11882_01/appdev.112/e41502/adfns_editions.htm#ADFNS020
https://oracle-base.com/articles/11g/edition-based-redefinition-11gr2

You may want to take a look at Gitora www.gitora.com. It helps managing Oracle PL/SQL packages with Git. Full disclosure: I am the developer.

Related

Oracle Reverse Engineer ERD for Mac [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 11 months ago.
Improve this question
I have a large database, over 100 tables, and I would like to reverse-engineer it into an ERD. I would like to do this automatically. OracleDataModeler works fine for me but seems to only let me select one table at a time. With my large database, I want to find a tool that will apply the ERD to the entire database, at once.
However, my employer has us using only MacOs (I'm on Monterey) and I can't find anything that will work for me. It doesn't have to be a free tool, I'm willing to pay for it, but all tools that I find seem to be only for Windows systems.
As a side tip, I had used RedGate software to do this with SQLServer databases and it is really easy to use. It worked great. If I could find something like that, it would be exactly what I'm looking for.
OracleDataModeler works fine for me but seems to only let me select
one table at a time.
No...use the Import wizard, point to your connection, select your schema/objects, and Voila.
Step By Steps
Connect to your datbase, pick your schemas and object types, and then...pick your objects...Click the 'Select All' button to grab everything.
Let it work it's magic..it may take awhile depending on how many objects you selected.
Disclaimer: I'm an Oracle employee and the product manager for SQL Developer / Data Modeler.

Oracle forms and reports documentation [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am lookin for a documentation on Oracle forms and reports? I have been trying to find out for quite some time, but could not find any.Is there any from Oracle or any other good source?
Well, Forms nor Report didn't change a lot (from developer's perspective) during their history.
up to 3.0 version, it was character mode tool. I doubt you use any of these versions
from 4.5 to 6.0, it was a modern GUI, running in client-server architecture. That's not being used much any more; however, I know (by reading Oracle Forums) that people still do use it
since 10g onwards (the first version was 9.0.4, but its market name was 10g), Forms applications are deployed on the web (true, you can do that with version 6 as well)
I guess you're not using anything lower than version 6. If that's so, as I said - from developer's point of view - you still have data and control blocks, triggers, procedures; in Reports, there are still queries, frames, anchors and stuff. Almost any documentation would do, more or less.
You should probably want to read documentation related to version you use. Here's Documentation for Oracle Forms and Reports (12.2.1.3.0).
Also, note that both Forms and Reports have really good online help system - navigate to their "Help" menu, open it and start reading or simply search for what you're interested in. There are a lot of examples within help.
Nearly all the current and previous Forms/Reports docs are linked from the Forms product page on Oracle.com
https://www.oracle.com/application-development/technologies/forms/forms.html#docs

Alternatives to SchemaSpy [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am looking for a open source tool that can be used to generate ER diagram. Currently, this is done using SchemaSpy. Maven scripts are invoked during jenkins build to generate these data model diagrams. I have tried POCs using SchemaCrawler as well. However, the results are not much satisfactory. Would appreciate if I can get pointers to alternative tools that can be used along with the same setup (maven and jenkins).
If you would like to find out good alternatives to SchemaSpy try to use and test this tools:
SchemaCrawler
Red-Gate SQL Doc (not FOSS)
Dataedo (not FOSS)
SchemaSpy 6.0
Each of them has different advantages and disadvantages SchemaCawler is also open source java based and free. SchemaSpy 6.0 this is new version of SchemaSpy that has better look and feel plus fix some major issue.
Dataedo is very interesting tool that has also possibility to generate documentation to pdf, html. With Dataedo you can write comments of tables and columns and after apply them on your database. As I remember on supplier page you can find also free version.
The last solution that I want to recommend is Red-Gate SQL Doc. This is also generate nice looking documentation and has many options. But as usually this solution is not free you need pay to use it.

Is there a better tool compared to Oracle SQL Developer? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm just starting to learn Oracle SQL Developer as I develop PL/SQL code at my new job, and while it's an okay tool, it lacks a lot of the conveniences and features that you'd want when writing programs using a different IDE (such as IDEA).
Is there a different tool out there that really assists when building large packages/procedures/functions of PL/SQL code compared to Oracle's SQL developer 3? It would be great to get features like code completion, or to have the ability to CTRL-click a procedure name to quickly jump to a piece of code, and other nice features of this type?
PL/SQL Developer by AllroundAutomations its really good one. Provides all the basic features that other tools provides. And very good while debugging your stored procedures, functions and triggers. But it is also a licensed version. There are no. of add-ons are available which makes tool more powerful and You can customize your Plsql developer as shown in following links.
here and here
I think Oracle SQL Developer is okay to develop PL/SQL code, It is a free software produced by Oracle org, it might lack of some specific features. but it satisfies most of common usages and functionality.
Toad is a more powerful tool with very widely used. but you need get a license.
PL/SQL developer was interesting to try out a couple years ago, but I'm always finding myself doing a decent amount of DBA type work, and it wasn't very helpful with that.
My DBA skills are not particularly strong, so that area, Toad and SQL Developer definitely come out ahead.
Overall, I prefer Toad (though it can be a resource hog, and getting everything working the way you want can be a pain). There's different versions (one specifically for developers) so one of those might suit you.
I recently started a new job, and decided to give SQL Developer a run (this is primarily because Toad is expensive enough that some places won't spend the money on it...like my last job...so it seemed like a good idea to pick a tool I knew I'd have everywhere). It certainly has its issues (it seems to be rather stubborn about breaking a connection if a query is running...but its possible thats a java thing), but it is free, lightweight, and gets the job done.
A note on Toad: At this point (possibly for the forseeable future) is strictly a 32-bit app. It'll run on a 64-bit windows box and connect to a 64-bit Oracle database, but the Oracle client must be 32-bit

Licenses of internal packages? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I heard rumors that some of database packages provided in Oracle database are not necessarily free to use. I thought that all packages like DBMS_UTILITY and DBMS_PROFILER are free to use and doesn't cost any extra.
And I also heard that there might be some kind of log if you have used some of those packages so that Oracle licensing guys could see afterwards how systems are used.
Do you know how it goes? Is there different licenses concerning about usage of internal packages?
Thanks,
Jokke
DBMS_UTILITY and DBMS_PROFILER are both free to use.
The packages (and views) that require additional licensing will generally be part of one of the various management packs and are documented in the Licensing Guide. For example, the DBMS_SQLTUNE package and the V$SQL_MONITOR view are part of the separately licensed Oracle Tuning Pack. If you use one of these packages or views, the associated entry in DBA_FEATURE_USAGE_STATISTICS should be updated so that the DBA can ensure that the organization is correctly licensed.

Resources