Preventing 500 Status Codes with Oracle REST Data Services

thatjeffsmith ORDS 0 Comments

In my Oracle REST Services Demos I always show things working exactly as planned. But what happens when your user does something your program doesn’t expect? Or what happens when you code does something you don’t expect? In the web (HTTP) world, you get a 500. 10.5.1 500 Internal Server Error The server encountered an unexpected condition which prevented it …

Just another GIF: Debugging PL/SQL

thatjeffsmith SQL Developer 0 Comments

Start a debug session…step over some code…look at a variable…run to a breakpoint…investigate the data in a PL/SQL table…step into another program…check out the callstack. Just another day in animated GIFs and showing you what SQL Developer is capable of. If you’re curious or want more info, hit the ‘debug’ link at the end of this for all of my …

How to Start the PL/SQL Debugger

thatjeffsmith SQL Developer 47 Comments

Starting the debugger CAN be as simple as hitting this button in Oracle SQL Developer: But But, you need to make sure of the following: You have compiled for debug You have the privs You have a breakpoint set OR you have set the debugger preferences to start with a ‘Step Over’ On Database 12c, you’ve done setup the network …

Inspecting PL/SQL Collections with Oracle SQL Developer

thatjeffsmith SQL Developer 15 Comments

Our stored procedures often capture information and store that data as a string or number. But sometimes we need to process more than just a single value. PL/SQL allows you to do this via collections. Now, if you’re looking for help getting started with collections, I would start with Using PL/SQL Collections and Records Oracle Docs The PL/SQL Guru, Steven …

Using SQL Developer to Debug your Anonymous PL/SQL Blocks

thatjeffsmith SQL Developer 18 Comments

Everyone knows that SQL Developer has a PL/SQL debugger – check! Everyone also knows that it’s only setup for debugging standalone PL/SQL objects like Functions, Procedures, and Packages, right? – NO! SQL Developer can also debug your Stored Java Procedures AND it can debug your standalone PLSQL blocks. These bits of PLSQL which do not live in the database are …