Steffen Clauß's Avatar

Steffen Clauß

@steffenclauss.bsky.social

#orclapex developer, #BVB ... Opinions are my own | So long, and thanks for all the fish...

78 Followers  |  167 Following  |  6 Posts  |  Joined: 19.09.2023  |  1.5366

Latest posts by steffenclauss.bsky.social on Bluesky

Preview
AutoUpgrade New Features: Run root.sh After Oracle Home Creation 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 New Features: Run root.sh After Oracle Home Creation

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.

20.05.2025 05:13 — 👍 6    🔁 3    💬 0    📌 0
The PL/SQL procedure P contains an insert and rollback. After calling P you can't roll back work done before it.

The PL/SQL procedure P contains an insert and rollback. After calling P you can't roll back work done before it.

After disable commit in procedure; calling P raises an exception instead of committing. This means you can rollback changes before calling P. As the exception is unhandled, the insert inside P is rolled back due to statement level consistency

After disable commit in procedure; calling P raises an exception instead of committing. This means you can rollback changes before calling P. As the exception is unhandled, the insert inside P is rolled back due to statement level consistency

Today's fun discovery

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!

20.02.2025 09:54 — 👍 20    🔁 8    💬 0    📌 0
Preview
Avoid using SQL COUNT(*) when you could use SQL EXISTS When checking for the existence of data, avoid using COUNT(*) > 0 as many implementations will nto be able to avoid the work of calculating the exact count

Checking if rows match some criteria?

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

10.12.2024 12:00 — 👍 14    🔁 6    💬 2    📌 0
Preview
Oracle Red Bull Racing RB20 F1® Race Car 77243 | Speed Champions | Buy online at the Official LEGO® Shop DK Build your own Red Bull Formula 1® race car

New Oracle Red Bull Racing race car from Lego announced. You can pre-order now 🏎️

#oracle #Lego

www.lego.com/en-dk/produc...

22.11.2024 17:38 — 👍 7    🔁 3    💬 0    📌 0

Heute ist meine neue #DOAG #Database Kolumne "Alles, was sie beim EXPDP/IMPDP beachten sollten" erschienen. Darin gehe ich auf viele Fragen und Probleme rund um #EXPDP und #IMPDP ein. Eine ideale Anleitung für den Umgang mit #Oracle #Datapump!

www.doag.org/de/home/news...

01.11.2023 20:16 — 👍 6    🔁 2    💬 0    📌 0

Wenn du einmal die Fensterputztücher von ProWin benutzt hast brauchst du niemanden mehr, der zum Putzen kommt 😉

01.11.2023 13:49 — 👍 0    🔁 0    💬 0    📌 0

Selbst wenn du die Zeit zurückdrehen könntest - ich glaube nicht, dass du dann ganz andere Entscheidungen treffen würdest. Für die Situation 2010 vielleicht, aber insgesamt nicht. Du bist du und du bleibst du - und das ist auch gut so!

29.10.2023 10:53 — 👍 1    🔁 0    💬 0    📌 0

Das kann ich absolut nachvollziehen - ich denke außer harten Drogen (die keiner will) gibt's da nix..

23.09.2023 12:49 — 👍 1    🔁 0    💬 0    📌 0

Hasse das Spiel aber nicht den Spieler 😉

23.09.2023 12:47 — 👍 1    🔁 0    💬 0    📌 0

Nur solange bis X tatsächlich kostenpflichtig wird 😂🙈

20.09.2023 06:38 — 👍 1    🔁 0    💬 0    📌 0

Ja dank dir 😉 mal sehn wie's wird..

20.09.2023 06:02 — 👍 1    🔁 0    💬 1    📌 0

@steffenclauss is following 20 prominent accounts