DBAsupport.com Forums - Powered by vBulletin
Results 1 to 10 of 10

Thread: sql prompt message

Threaded View

  1. #3
    Join Date
    Dec 2003
    Location
    Pakistan
    Posts
    3
    Originally posted by ocp2b

    set termout off
    spool set_prompt.sql
    select 'set sqlprompt'||' "' || a.username ||'-'|| b.terminal ||'> "'
    from v$session a, v$process b
    where a.paddr = b.addr
    and a.sid = (select sid from v$session_connect_info);
    spool off
    start set_prompt.sql
    set termout on
    I have Just Joined this forum today and find for the GLOGIN.SQL
    and find this thread
    and when i issue these statments then it gives me error

    and a.sid = (select sid from v$session_connect_info)
    *
    ERROR at line 4:
    ORA-01427: single-row subquery returns more than one row


    Will be thank full for Helping
    Last edited by KashifDBA; 12-19-2003 at 08:26 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width