Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 02:00

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[PHP] [Mssql] Results from to ?

Discussion on [PHP] [Mssql] Results from to ? within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
Terrat's Avatar
 
elite*gold: 130
Join Date: Apr 2012
Posts: 1,173
Received Thanks: 670
[PHP] [Mssql] Results from to ?

Hallo,
gibt es eine möglichkeit in um eine Query so zu bauen das ich die ergebnise 36-70 bekomme ?
Also jetzt nicht Between sondern ich meine:
Select .... _> 100 Results
Möchte jetzt aber von diesen 100 results die von 36-70.
Terrat is offline  
Old 04/07/2015, 01:42   #2

 
elite*gold: 188
Join Date: Jan 2010
Posts: 284
Received Thanks: 22
Limit?
OfficialiSEVEN is offline  
Thanks
1 User
Old 04/07/2015, 01:51   #3
 
Terrat's Avatar
 
elite*gold: 130
Join Date: Apr 2012
Posts: 1,173
Received Thanks: 670
Quote:
Originally Posted by FrickXHD View Post
Limit?
Danke mein Hasi ° -°
Terrat is offline  
Old 04/07/2015, 01:51   #4

 
elite*gold: 188
Join Date: Jan 2010
Posts: 284
Received Thanks: 22
Quote:
Originally Posted by IceGuard[emoji769
[emoji818];31548266]Danke mein Hasi ° -°

#nohomo

Gerne
OfficialiSEVEN is offline  
Thanks
1 User
Old 04/07/2015, 01:56   #5
 
Terrat's Avatar
 
elite*gold: 130
Join Date: Apr 2012
Posts: 1,173
Received Thanks: 670

Gibts das nur bei sql oder wie ist der syntax bei Mssql ?
Terrat is offline  
Old 04/07/2015, 02:00   #6
 
Analysis''s Avatar
 
elite*gold: 55
Join Date: Mar 2015
Posts: 603
Received Thanks: 154
Probiers mal mit der langen Form, sollte aber eigentlich funktonieren.
PHP Code:
SELECT FROM Items LIMIT 10 OFFSET 15 
Startet bei 16 bis 26.
Analysis' is offline  
Thanks
1 User
Old 04/07/2015, 02:03   #7
 
Terrat's Avatar
 
elite*gold: 130
Join Date: Apr 2012
Posts: 1,173
Received Thanks: 670
Quote:
Originally Posted by Analysis' View Post
Probiers mal mit der langen Form, sollte aber eigentlich funktonieren.
PHP Code:
SELECT FROM Items LIMIT 10 OFFSET 15 
Startet bei 16 bis 26.
Nope, Mssql unterstützt Limit nicht gerade in der doc gesehen.

Habe Limit jetzt so implementiert:
Code:
SELECT * FROM 
(
    SELECT TOP 30 *, ROW_NUMBER() OVER (ORDER BY (SELECT 1)) AS rnum 
    FROM Items WHERE table_id = 1
) a
WHERE rnum > 5
Trotzdem danke an alle
Terrat is offline  
Reply


Similar Threads Similar Threads
no results
07/18/2012 - Rappelz Private Server - 4 Replies
Hi. I have some strangeness with SQL server... When I try to restore Arcadia Telecaster or auth, nothing happens. I just choose the file thats all. When I try the old database, it works normally, but when I use 7.3 database nothing happens. I use SQL 2012. Мaybe the problem is that I'm using x32 (86), and not x64? If somebody knows this problem answer please. Thank you!
[Mysql] -5375- Could not find specified column in results
02/26/2012 - CO2 Private Server - 1 Replies
when i click on the console server started normally then i gotta this error Load Server Configurations! Initializing database. Item Base and Plus information loaded. Monster information loaded. Monster drops generated. Spells information loaded. Shops information loaded. Map information loaded.
SOTW#2 Results
04/23/2011 - Grand Chase - 16 Replies
Champion: #8 http://i971.photobucket.com/albums/ae200/KuroiMat o/Hakkukaishi/zerov2.png Sig Maker: KuroiMato Grats!
GWC results
01/01/2010 - Grand Chase Philippines - 18 Replies
korea=champion philippines=1st brazil=2nd hk=3rd th=4th tw=5th na=6th press tnx if i helped..;)
virustotal results
05/22/2007 - Silkroad Online - 3 Replies
Results sro_client V1.98 the newest AhnLab-V3 2007. no virus found AntiVir 7.4.0.23 TR/Spy.VB.QP.59 Authentium 4.93.8 no virus found Avast 4.7.997.0 no virus found AVG 7.5.0.467 no virus found BitDefender 7.2 no virus found CAT-QuickHeal 9.00 no virus found ClamAV devel-20070416 no virus found DrWeb 4.33 no virus found



All times are GMT +1. The time now is 02:00.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.