Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sort curser-values in pl/sql

Status
Not open for further replies.

mokesql

Programmer
Sep 6, 2001
30
AT
hi!

i want to sort my curser values by the alphabet, so as example: my curser contains three columns, one of them is the name and i want to insert all the rows into a table but i want them sorted alphabetic. how can i do it? please helt, thnx

kemo
 

Your cursor will be something like this.

cursor samp_curr is
SELECT name, emp_no, salary
FROM emp
ORDER BY name;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top