Re: Paginazione ajax

massimo-AWCe33ycjKG6CeScpoWb4QC/[email protected]
Newsgroups gmane.comp.cms.cold-fusion.devel.italian
Message-ID <82e1b8878a0cf6a522bf12972d7de282.squirrel@QuestMail.FutureQuest.net>
>  -- il parametro Order by devi usarlo qui per ordinare il record set
>  ROW_NUMBER() OVER ( ORDER BY IdDocumento ) AS n,
>  -- il segreto è mettere l'order BY in ordine inverso rispetto alla riga
> sopra
>  ROW_NUMBER() OVER ( ORDER BY IdDocumento DESC ) AS m

Potenza delle window function :-)

Massimo


------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.