If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > Ingres procedures

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-03-07, 08:24
surash27 surash27 is offline
Registered User
 
Join Date: Jul 2007
Posts: 1
Ingres procedures

hi

i am not able to use cursor in ingres procedures it shows me the compilation error ,currently i am using ingres II.
kindly reactify my problem.

regards
ashish
Reply With Quote
  #2 (permalink)  
Old 07-04-07, 06:10
jpz jpz is offline
Registered User
 
Join Date: Feb 2007
Location: Courbevoie, France
Posts: 10
Hello,

You can not use cursors in a database procedure. Please read the "Create Procedure" help on the Ingres web site (http://docs.ingres.com/sqlref/CreateProcedure).

In a DB Proc you can use only one of the following statements :
* COMMIT
* DELETE
* ENDLOP
* EXECUTE PROCEDURE
* FOR
* IF
* INSERT
* MESSAGE
* RAISE DBEVENT
* RAISE ERROR
* REGISTER DBEVENT
* REMOVE DBEVENT
* RETURN
* RETURN ROW
* ROLLBACK
* SELECT
* UPDATE
* WHILE
* Assignment statements

Hope this help,
Jean-Pierre Zuate
jean-pierre.zuate@lafageconseil.fr
http://lafageconseil.fr/
__________________
Jean-Pierre ZUATE
La Fage Conseil - Ingres & IT Service
http://lafageconseil.fr/
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On