I
IntraRELY
I under stand how to pull the results for all but the first page in the grid
using one query or stored proc. If I could specify TOP 0 in the sub query,
you would think that would work. Do I need to create another stored proc to
pull the results for the first page of the datagrid?
SELECT TOP 3 id, name
FROM mytable
WHERE id NOT IN
(SELECT TOP 0 id FROM myTable ORDER BY name)
ORDER BY name
TIA,
Steve
using one query or stored proc. If I could specify TOP 0 in the sub query,
you would think that would work. Do I need to create another stored proc to
pull the results for the first page of the datagrid?
SELECT TOP 3 id, name
FROM mytable
WHERE id NOT IN
(SELECT TOP 0 id FROM myTable ORDER BY name)
ORDER BY name
TIA,
Steve