Microsoft
Software
Hardware
Network
Question : SQL Syntax for SELECT TOP 25 PERCENT, SELECT NEXT 35%, SELECT NEXT 15%, etc...
What's the most efficient way to do this. I know I can use
SELECT TOP 25 PERCENT * and then DELETE TOP 25 PERCENT * and then SELECT TOP 35 PERCENT * and so on.
Is there a more direct way? Thanks!
Answer : SQL Syntax for SELECT TOP 25 PERCENT, SELECT NEXT 35%, SELECT NEXT 15%, etc...
you can do this
select top :end percent * from mytable
minus
select top :start percent * from mytable
to find data between end & start (say %25 and %50)
Random Solutions
Problem opening emails from an archiving folder in Outlook
2 factor authentication
How to activate OCR fonts on OTC850 Dot Matrix Printer?
PIX 515 to ASA 5505 VPN tunnel problems...
Interpreting Outlook Log File
the laptop is hot !
PHP error handling, how to add error text to html
Sharepoint 2010 and default IIS
How can insert multiple rows in a table in TOAD
reporting tool which outputs Excel file