Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Wed, 12 Feb 2003 @ 15:01:16 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: Looking for sample Stored Procedure
From:   Syed Arifuddin

Hey Buddy,

You can declare a cursor with in your stored procedure to read variables from parametertable and update employee table as illustrated below.

for update_cursor as update_cursor1 cursor for
      select col1,col2,col3 from QCD.parametertable
      update employee set
      where col1=:update_cursor.col1

    end for;


  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020