Home
The Toolkit for Online Communities
15936 Community Members, 0 members online, 2795 visitors today
Log In Register

Forum OpenACS Development: Re: How do I get first half rows from ORACLE table

OpenACS Home : Forums : OpenACS Development : Re: How do I get first half rows from ORACLE table : One Message

+
Posted by Vamshi Krishna Kaniganti on
insert into newly_acquired_stocks
        select * from my_stocks
        where rownum < = (select count(*)/2 from my_stocks);

this will work out check it out