Opinions are my own | So long, and thanks for all the fish...
AutoUpgrade Patching continues to make it even easier to patch your Oracle Database. After installing a new Oracle home, it will automatically run the root.sh script if there's sudo privileges.
AutoUpgrade Patching continues to make it even easier to patch your Oracle Database. After installing a new Oracle home, it will automatically run the root.sh script if there's sudo privileges.
ALTER SESSION DISABLE COMMIT IN PROCEDURE
=> if a PL/SQL procedure has a commit it raises an ORA-00034 instead!
=> you can rollback across PL/SQL calls with commits
Note: DML in the proc is rolled back unless you catch the ORA-34
This "new" feature is at least 20 years old!
ALTER SESSION DISABLE COMMIT IN PROCEDURE
=> if a PL/SQL procedure has a commit it raises an ORA-00034 instead!
=> you can rollback across PL/SQL calls with commits
Note: DML in the proc is rolled back unless you catch the ORA-34
This "new" feature is at least 20 years old!
Instead of
SELECT COUNT(*) FROM ...
Use
EXISTS ( SELECT * FROM ...
COUNT gets all the rows; EXISTS can stop when it finds a match
As @lukaseder.bsky.social says
Thou shalt not use COUNT(*) when EXISTS sufficeth thy need
Instead of
SELECT COUNT(*) FROM ...
Use
EXISTS ( SELECT * FROM ...
COUNT gets all the rows; EXISTS can stop when it finds a match
As @lukaseder.bsky.social says
Thou shalt not use COUNT(*) when EXISTS sufficeth thy need
#oracle #Lego
www.lego.com/en-dk/produc...
#oracle #Lego
www.lego.com/en-dk/produc...