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
Crosstab Query To Excel - Number Format
Internet Explorer blocking javascript
My Computer/ Explorer Not responding Windows XP
How do create a Windows batch script to start a service and set to automatic
Win 2003 Server desktop icons do not appear after login
Need SBS 2008 R2 Premium Media
Accessing an FTP server internally that is on a different subnet.
How to read the data from MQRFH2 messages using MQ connector stage
SBS 2008: reverting from smart host/pop3 connector to exchange hosted email (DNS)?
use wireshark to capture whats happening during the logon process