RE: [Linux-programlama] mssql'de limit uygulamasi nasil yapilir?

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Eralp (eralp@prestijsoftware.com)
Date: Thu 17 Mar 2005 - 18:37:16 EET


Super!

Tebrik ederim ..

-----Original Message-----
From: linux-programlama-bounces@liste.linux.org.tr
[mailto:linux-programlama-bounces@liste.linux.org.tr] On Behalf Of
Huseyin A. Ozbey
Sent: Thursday, March 17, 2005 2:29 PM
To: linux-programlama@liste.linux.org.tr
Subject: [Linux-programlama] mssql'de limit uygulamasi nasil yapilir?

Merhaba
mssql'de mysql'deki select * from table limit 20,10 'nun muadili olarak
asagidaki kodu buldum.
Bu kod bana 21. satir ila 30. satiri getiriyor.

Select top 10 * from tbStok
where nStokID not in (select top 20 nStokID from tbStok order by
nStokID) order by nStokID;

Yapmam gereken 20'yi degistirmek.

Bilginize

Saygilarimla

Huseyin A. Ozbey

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.