Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: SQL*Plus and PL/SQL >> Insert Sr No for all the Rows in a Table

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: Insert Sr No for all the Rows in a Table
 vicky  Posted: Sep 11, 2007 06:52:47 AM

 Total Post: 1
 Joined: Aug, 2007






 Hi,
We have a table with 600000 rows ,each row having 2 columns viz name and empid.
Now we have to insert ( assign ) Sr No in a sequence from 1 to 600000 corresponding to each row .

Kindly help me out with this.

Thanking you in advance.

 Ramesh Joyisa
Posted: Sep 11, 2007 11:30:16 PM  

 Total Post: 245
 Joined: Aug, 2007






 
Generate sr.no. using a database sequence and then update the table

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar843
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gitesh Trivedi322
  Gopu Gopi272
  neeraj sharma252
  Ramesh Jois245
  Bishal Khetan207






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software