Dan McGhan
@dmcghan.bsky.social
250 followers 250 following 24 posts
Software Development Engineer at Oracle. ❤️ Oracle Application Express (APEX), Oracle Database, CI/CD & JavaScript. Views are my own, not Oracle's.
Posts Media Videos Starter Packs
What if there were people behind you and they sprang out after you heard the count? Would it update you?

No wait, there’s four of them!
Reposted by Dan McGhan
Rolling back #database changes is hard

Why?

Data!

dmcghan.bsky.social covers how to recover this in Oracle Database:

Flashback database
Database restore
Export/import

And online ways to deploy safely:

Edition-Based Redefinition
DBMS_REDEFINITION

buff.ly/r04arHd
Relying on Liquibase rollback? That might be your riskiest move. 💥

Find out why it fails—and how to do it right with Oracle Flashback, Data Pump, and EBR.

👉 danmcghan.hashnode.dev/the-problems... #orclAPEX #OracleDB #sqlcl #DevOps
danmcghan.hashnode.dev
I remember reporting this bug over a year ago. :) It was patched in 19.23 too.
Ready to simplify CI/CD with Oracle Database? Jeff shows you how to get started with SQLcl Projects. Powerful tools, but you have to be willing to pay nothing! :D
Published two new blog posts today, but first I want to show off a new Oracle LiveLab -
livelabs.oracle.com/pls/apex/r/d...

Complete end-to-end demo for using SQLcl projects to build and maintain a React Web app with an Oracle Database backend!
livelabs.oracle.com
Reposted by Dan McGhan
Best fix/feature in #Oracle SQLcl 25.1.0 : When you change the contents of a file (e.g. a package body), "project stage" will automatically reformat the code and update the hash. No need to export it from the database again!

#sqlcl #cicd #orclapex
Reposted by Dan McGhan
If you enjoy low-code development and have some free time, check out this free Oracle APEX certification—it's available at no cost until May 15.

I tried it last night, and the exam is very well designed!

blogs.oracle.com/apex/post/be...
Reposted by Dan McGhan
Reposted by Dan McGhan
We got a great overview of the capabilities of the new SQLcl Project feature. No better person to present it than @apexconsulting.nl - one of the first to use it for his CI/CD pipeline in production! In my opinion - the way APEX (and database) versioning and deployment will be done in the future 💡
Reposted by Dan McGhan
Here's the video of APEXLang that Mike Hichwa showed in his talk this morning at #APEXWorld2025 The is massive potential here from easier ci/cd to code reviews to AI trained on the language to tooling as we'll publish the grammar behind when it launches
Reposted by Dan McGhan
APEX Lang is a new domain specific language you will be able to use to define Oracle APEX apps

This is a human readable language designed to help you build and manage apps faster

#apexworld2025 #orclapex
Goals for APEX Lang APEX Lang example APEX Lang example How APEX Lang works
SQLcl 24.4.3 was released today and fixes the APEX export bug. Thanks for the heads up, Roel.

#sqlcl #orclapex
Reposted by Dan McGhan
New to database development? We've got a one-stop shop for your to get up to speed in just a few days

asktom.oracle.com/databases-fo...
Though, Oracle did finally drop ‘from dual,’ so one never knows...
I agree with your logic, but I think it’s easy to see that some of SQL’s awkwardness is routed in English’s.

Is it worth “fixing”? I don’t know. We need something apolitical to complain about these days. Something that unites us! 😉
“Get the milk and bread from Aldi” vs “From Aldi, get the milk and bread”… 🤪
Reposted by Dan McGhan
Finally got a chance to try #SQLcl projects! Initially struggled, expecting it to work like Liquibase, but once I realized Git is central to the workflow, everything clicked. I think it has huge potential—not just for big teams with CI/CD, but also for beginners and citizen developers.
Hi Patrizia, firstly, thanks for reporting the issues you found in the SQLcl Forum.

Have you tried running:
project config -list -verbose

Perhaps there'll be an equivalent in the doc some day, but that command is your best bet for now.
In the beginning, SQLcl Projects can feel intimidating. Lot's of commands, processes, etc. But after a few weeks it should start to feel more natural. Once you get to that point, undoing things that commands like stage and release do should be simpler.
I'm unaware of any ties in SQLcl Projects to Git tags, so any strange behavior there should be revisited. Please let us know if you have a reproducible test case.

I suspect the true issue was the one you mentioned later, the fact that the main changelog still had points to the deleted release.
Hi Plamen, did you happen to see this post? danmcghan.hashnode.dev/upgrading-sq...

I recommend refreshing 'src/database'. That would have addressed the issue you ran into with the .pks/.pkb extensions changing to .sql. It would also fix other issues that can happen with updates to SQLcl Projects.
Upgrading SQLcl When Using SQLcl Projects
Keeping your development tools up to date is essential for smooth collaboration and to take advantage of the latest features and fixes. When working with SQLcl Projects, upgrading SQLcl requires a str...
danmcghan.hashnode.dev