Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Up date rows with values from an unrelated table
Message
From
24/07/2018 17:51:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/07/2018 09:12:19
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01661324
Message ID:
01661341
Views:
49
>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

Nick,
Could you elaborate what you want, preferably with some sample data and desired output.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform