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

Thread: Help me out with query

  1. #1
    Join Date
    Jan 2006
    Location
    Bangalore,IND
    Posts
    47

    Help me out with query

    Can some one help me how to write spool scripts to join 2 statements and execute as one. this will fetch 2000 records. I need to substitute id, empid,psvers values in the call statement.

    select id, empid, psvers from tbl_prod where id > 180;
    call image('id','empid', psvers, 'format=jfif');


    thanks

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    I haven't the slightest clue what you are trying to do...
    Jeff Hunter

  3. #3
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    i think he wants the output from the first query to be the input to the procedure

    but that is basic plsql block, so google for it :-)

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