Have you ever wondered how your database represents the timestamp you just entered or how many bytes it takes to store a boolean or interval?
Oracle has a handy dump function that lets us peer into the internal representation of our data. Dump takes any type of input and returns a varchar2 describing the data type, length and the internal representation. Output might look like this:
‘Typ=96 Len=4: 84,101,99,104’
Read the rest of this entry »