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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 sql

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-01-22 : 10:08:06
tvanoop writes "what is the proper funtion in SQL Server for
ROWNUM in Oracle sql plus ?

ie, rownum gives a unique no (say serial no) in sqlplus.
what is the parallel function in SQL Server?"

KnooKie
Aged Yak Warrior

623 Posts

Posted - 2002-01-22 : 10:17:59
you can use an identity column in SQL Server which can give unique numbers in a sequence you specify

Go to Top of Page

Nazim
A custom title

1408 Posts

Posted - 2002-01-22 : 10:45:35
you can also use GUID, look in BOL for more information.



--------------------------------------------------------------
Dont Tell God how big your Problem is , Tell the Problem how Big your God is
Go to Top of Page
   

- Advertisement -