excalibur78
IS-IT--Management
I'm running a dynamic select top x command where x can be more records then are in the recordset. x can be 600 and when you execute the select top 600 ..... it only returns say 200 records since that's all there is. Now I run the same select and only want 50 records. How can I store the actual record count? I tried "select top 50 count(*) ...." and it only gives me the the max recordset number in this example 200 even tho I said top 50.
Thanks
Thanks