Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 5123

How to update column values in a table where that column is referring to different tables

$
0
0

i have a table Order it has columns

OrderID, Name, Total

1            trade   value populated from i.e. tradeorder table

2            fixed   value is populated from fixedorder table

3            annual  value populated from another table

I m thinking of creating function for every order id to call those tables..

and there are many insertions taking place in order table ,,at the moment its 20 rows ..

kindly provide your suggestions




Viewing all articles
Browse latest Browse all 5123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>