Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Up date rows with values from an unrelated table
Message
De
23/07/2018 09:12:19
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Up date rows with values from an unrelated table
Divers
Thread ID:
01661324
Message ID:
01661324
Vues:
50
Hi

I need to find the best way I can do this fro testing.

I have a two table2 with 2million + rows.

The table 2 has a column that should have been loaded with numeric values.

table 1 has examples of these values and I want to take them and put them in table 2 .

The two tables have no common keys . they have GUIDs but they don't match . in the real world they will but in this example they don't.

Any ideas on quick a way to this . I've tried things like NEWID but that takes a very long time .

Any suggestions welcome

Thanks

Nick
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform