Converting pl/sql structure (record) to a string
I need to convert a structure to a string, does anyone know how to do this?
e.g.
TYPE Msg IS RECORD /* record to store message info */
(
record_type VARCHAR2(3),
field1 VARCHAR2(10),
my_dept_nbr dept.dept_nbr%TYPE);
My_Msg Msg;
My_Msg.record_type := 'ABC';
My_Msg.field1 := 'whatever';
My_Msg.my_dept_nbr := 13;
Now I want to assign My_Msg to a string!!!
????