Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
SanjeevBaranwal
Starting Member
14 Posts |
Posted - 2009-01-21 : 06:56:13
|
| Hi, Please tell me whether every rowdata of a table has any uniqueID or any number. Means if I retrieve some data through select statement then can I know the correponding Unique identifier value for a particular row depending on the indexing e.g. row 2 has Unique identifier value as 2 according to the indexing. |
|
|
raky
Aged Yak Warrior
767 Posts |
Posted - 2009-01-21 : 06:59:13
|
| If u have a primary key constraint or unique key constraint defined on any column in a table then that column will have unique value for every row data |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-01-21 : 08:40:10
|
| or if in sql 2005 you can generate unique value on the fly based on any order using ROW_NUMBER() function |
 |
|
|
|
|
|