huckfinn19
Programmer
Hi!
I am using SQL server and am trying to find the internal row indexes of a table. For example, with the following table
Client:
ClientID | ClientName
---------------------
cid01 | name01
cid02 | name02
I would like to be able to get the internal row ID of this structure meaning that I'd like to be able to do something like:
giving me something like:
system.RowID
0
1
Note that "system.RowID" is from my imagination. I would like to find if it exists in some way. If it does, I would then be able to do something like:
giving me:
ClientID | ClientName
---------------------
cid02 | name02
Is this possible with SQL Server? I think it is with Oracle, but can't find the feature in SQL Server... This would be very helpful to do some virtual browsing by allowing to get the items from let's say, 0 to 50, but also then from 50 to 100...
Thanks!
Huck
I am using SQL server and am trying to find the internal row indexes of a table. For example, with the following table
Client:
ClientID | ClientName
---------------------
cid01 | name01
cid02 | name02
I would like to be able to get the internal row ID of this structure meaning that I'd like to be able to do something like:
Code:
SELECT system.RowID FROM Client;
system.RowID
0
1
Note that "system.RowID" is from my imagination. I would like to find if it exists in some way. If it does, I would then be able to do something like:
Code:
SELECT ClientID, ClientName FROM Client WHERE system.RowID = 1;
giving me:
ClientID | ClientName
---------------------
cid02 | name02
Is this possible with SQL Server? I think it is with Oracle, but can't find the feature in SQL Server... This would be very helpful to do some virtual browsing by allowing to get the items from let's say, 0 to 50, but also then from 50 to 100...
Thanks!
Huck