Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RIght outer join Problems
Message
From
21/12/2005 15:09:15
 
 
To
21/12/2005 13:43:56
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01079896
Message ID:
01079986
Views:
22
I figured out the problem. There are 10 duplicate records in the table. Now I need to figure out how to delte duplicate records.

I have to get a unique value added to a new column in the table.

I tried Rand() but the select statement happens too quick.

select lis_vol.*, RAND( (DATEPART(mm, GETDATE()) * 100000 )
+ (DATEPART(ss, GETDATE()) * 1000 )
+ DATEPART(ms, GETDATE()) )

Any suggestions?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform