Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
現在、CTE を使用してデータのページングを処理していますが、条件クエリで CTE を処理できますか?
IIRC、nhibernate は 2005 以降でページングするときに CTE を使用するため、ページングされたクエリは、ページングのクエリを使用して CTE になります。temptables を使用しない限り、sqlserver 2005/2008 でページングを行う方法は他にないため、これは論理的です。(いいえ、行番号のトリックなどはすべての場合に機能するとは限りません。o/r マッパーは、常に機能するページング システムと連携する必要があります)