わいえむねっと

Contents
Categories
Calendar
2009/10
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Monthly Archives
~2000/01
Recent Entries
RSS1.0
Templates
Information
Processed: 0.018 sec
Chashed: -
2009/10/29 Thu
SQL で limit が使えないです!とか唐突に3時に言われていいから寝てろよと思いつつ確認してみたところ、Microsoft SQL Server なので limit が使えなくて正解という結論。
てことは、

select * from FOO order by BAR limit 10,10;



select * from (
    select top 10 * from (
        select top 20 * from FOO order by BAR
    ) as A order by BAR desc
) as B order by BAR;

とか?
もっとなんとかならんのか。