ishwarjindal
Programmer
I have a requirement in SQL Query that i need a unique number along with each row returned by the SQL Query.
It doesn't matter whether i am using single table or multiple tables.
Note : I have a soultion of this problem but it need the creation of a table
(i.e. using Select IDENTITY(int,1,1) as ROWID , t1.* INTO t2 from t1). I want a better solution which shouldn't involve the craetion of new table
It doesn't matter whether i am using single table or multiple tables.
Note : I have a soultion of this problem but it need the creation of a table
(i.e. using Select IDENTITY(int,1,1) as ROWID , t1.* INTO t2 from t1). I want a better solution which shouldn't involve the craetion of new table