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

Thread: set client env with from procedure ?

  1. #1
    Join Date
    Jan 2002
    Posts
    18
    hi,

    wondering if there's anyway to set serveroutput on or something similar with a procedure ? i want to be able to
    dbms_output.put_line without having to rely on the user to
    issue set serveroutput on (i know it can be done w/ login on each individual client -> trying to avoid this).

    thanks!

    create or replace procedure this_proc (n number) as
    <>
    begin
    <>
    end;

  2. #2
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    no because that is a SQL*PLUS command not an SQL command
    you can put serverout put on in login.sql but that will enable serveroutput by default in the client

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