Septanet Forum  

Go Back   Septanet Forum > Computers, Software, Harware, Information Technology > MySQL

Reply
 
LinkBack Thread Tools Display Modes
Old 25-08-2011, 12:25 PM   #1
Senior Member
 
harry's Avatar
 
Join Date: Aug 2011
Posts: 103
Default Cursor in procedural langauge(pl/sql)

Cursors: LIKE ARRAY IN PHP

we can fetch the multiple variable value in cursor instead of scalar variable

Algorithm of cursor in pl/sql as described below

DECLARE for Cursors
Cursor OPEN Statement
Cursor FETCH Statement
Cursor CLOSE Statement
1. we have to declare the cursor DECLARE cur1 CURSOR FOR SELECT column name....
2. we have to OPEN CURSROR;
3. WE HAVE TO FETCH THE CURSOR.
4. WE HAVE TO CLOST THE CURSOR.
harry is offline  
Digg this Post!Bookmark Post in Technorati
Reply With Quote
Reply

Thread Tools
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 12:41 PM.


Content Relevant URLs by vBSEO 3.5.0 RC2