Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RIght outer join Problems
Message
De
21/12/2005 15:09:15
 
 
À
21/12/2005 13:43:56
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01079896
Message ID:
01079986
Vues:
23
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform