SQLing

SQLingPL Playground

Run Oracle PL/SQL — procedures, functions, packages, cursors, exception handlers, collections — against SQLite, DuckDB, or Postgres, with no Oracle instance underneath. The interpreter and the database both live inside a sandboxed frame in your own browser, so your code is never uploaded.

Runtime loads on first run (~6 MB, once)
PL/SQL
Press Run.

What this is

Powered by SQLing Engine, a PL/SQL interpreter that runs on SQLite, DuckDB, and Postgres instead of an Oracle instance. It matters for modernization because it answers a question every migration eventually asks: does this PL/SQL still behave once Oracle isn't underneath it?

What runs, and what doesn't

The split is worth understanding before you judge a result. PL/SQL itself is interpreted — the procedural language is implemented here, not translated. SQL statements are handed to the targeted database engine, with Oracle's types and functions rewritten on the way past. So where Oracle's SQL has no equivalent in that engine, it isn't there.

The Translate button shows that second half: Oracle SQL in, target-dialect SQL out — the text your chosen backend would actually see. PL/SQL control flow (BEGIN / END, IF, LOOP, EXCEPTION) never reaches the backend, so it passes through the Translate step unchanged; only the SQL inside is rewritten.

Your own functions cannot be called from SQL. Oracle lets a stored function appear anywhere in a query; here the SQL goes to the targeted database engine, which has never heard of it, so SELECT my_fn() FROM dual fails with ORA-06512: no such function — in a WHERE clause too. The same function called from PL/SQL works perfectly. If you are checking whether extracted logic still behaves, call it from a block rather than from a query.

Limits of this browser session

Nothing persists. Every run starts a fresh in-memory database, so a script cannot see what the last one left behind — that is deliberate, and it is why the stored-program-units example rebuilds its tables each time. Reloading the page discards everything.

Files go to a virtual filesystem. SPOOL and UTL_FILE write normally, but into an in-memory filesystem that exists only in this tab. Whatever a run leaves behind is offered above as a download. HOST is refused outright.

Substitution variables are off by default. SQL*Plus starts with SET DEFINE ON, but there is no interactive prompt in this tab, so an & inside a string literal or comment would raise a confusing error instead of asking you for a value. Add SET DEFINE ON at the top of your script if you want it.

An endless loop may need a reload. The interpreter runs as WebAssembly, which cannot be interrupted once it is inside a tight loop. Stop is best-effort; if the next run won't start, reload the page.