![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, does someone of you know how to find a special row in a table, not using a WHERE clause? To make it more clear: What do I have to enter if I want to know the contents of row number six in table <abc>? Any tricks??? |
|
Thank you very much in advance - Alfred |
#3
| |||
| |||
|
|
The key is to define what you mean by 'row number 6'. Is this the chronologically sixth inserted row? Is it the sixth row as defined by a unique key? Is it just the sixth row you currently see when you do a 'select(*)'? Does this table have any indexes? Any of them clustered? Depending on your answers, there may be one trick or another. |
#4
| |||
| |||
|
|
The key is to define what you mean by 'row number 6'. Is this the chronologically sixth inserted row? Is it the sixth row as defined by a unique key? Is it just the sixth row you currently see when you do a 'select(*)'? Does this table have any indexes? Any of them clustered? Depending on your answers, there may be one trick or another. From your answer I learned a lot for the questions in the future, thank you so far. In fact, this table has 5 Indexes, one of them is a clustered one. But, your guess was right I'm at the moment only interested to fetch for example the sixth row of the table if I do a select (*). Background information: Currently programming a data generator which will just generate data on a random basis but relies on data in different tables. |
|
Thank's in advance - Alfred |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |