Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 21 Apr 2003 @ 07:26:56 GMT


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


Subj:   Stored procedure warning..
 
From:   Anomy Anom

<-- Anonymously Posted: Monday, April 21, 2003 01:04 -->

Hi

when i compile the following procedure it is giving warning that CustCursor cannot be created. what should i do..

CREATE PROCEDURE spsample4
BEGIN
FOR CustCursor AS c_customer CURSOR FOR SELECT num,empcode,basic FROM
EMPLOYEE
DO
INSERT INTO test_emp VALUES
(CustCursor.num,CustCursor.empcode,CustCursor.basic);
END FOR;
END;



     
  <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: 27 Dec 2016