_覓 | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁 |
FrontPage › れ谿剰鍵
|
|
declare @search_number int set @search_number = 99 --谿場 螳 99朱.. ;with dummy as ( select 0 seq union all select seq + 1 from dummy where seq + 1 <= 1000 ) select case when sign(seq - @search_number) > 0 then 'next' else 'prev' end as dir, case when sign(seq - @search_number) > 0 then min(seq) else max(seq) end as seq from dummy where seq <> @search_number group by sign(seq - @search_number) order by sign(seq - @search_number) option (maxrecursion 0);
鏤
|
貍 蠍 殊襷 覈磯 . 襦 殊 覿 豎螻 語 覓語 レ 伎 企. 語蟆 伎手 襷 伎伎朱 蟆 苦 覲牛蟆 襷 覦覯企. |