|
|
Archives of the TeradataForum
Message Posted: Mon, 21 Apr 2003 @ 07:26:56 GMT
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;
| |