Link to home
Start Free TrialLog in
Avatar of sbagireddi
sbagireddi

asked on

Update table

I have a table DimCounty(CountyID,CountyDescr).This has 3000 distinct rows
CountyID    CountyDescr
1           Abbeville
2           Acadia
3           Adair



Another Table CountyStatusFACT(CountyID,CountyDescr,StatusID,Projcount).
This is as follows:
CountyID    CountyDescr   StatusID    Projcount
1           Abbeville       100         2
1           Abbeville       200         10
2           Acadia          200         24

I want to update CountyStatusFACT where CountyID is updated with the values of CountyID as in table DimCounty.
So we get the result as shown above.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial