Can someone give me the sql that would produce this output?
thanks
SID MACHINE LOGON_TIME STATUS SQL
--- ------- ---------- ------- --------- -----------
229 aaccd1 08-OCT-12 ACTIVE insert into mando.
271 aaccd1 08-OCT-12 ACTIVE select * from mando.
Printable View
Can someone give me the sql that would produce this output?
thanks
SID MACHINE LOGON_TIME STATUS SQL
--- ------- ---------- ------- --------- -----------
229 aaccd1 08-OCT-12 ACTIVE insert into mando.
271 aaccd1 08-OCT-12 ACTIVE select * from mando.
I did what you asked, but I can't be sure that it is what you really wanted. :rolleyes:
Code:SELECT 'SID MACHINE LOGON_TIME STATUS SQL'||chr(10)||
'--- ------- ---------- ------- --------- -----------' ||chr(10)||
'229 aaccd1 08-OCT-12 ACTIVE insert into mando.'||chr(10)||
'271 aaccd1 08-OCT-12 ACTIVE select * from mando. ' from dual;