Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 12890

Insert into two linked tables via query designer in visual studio?

$
0
0

I have two tables name Roster And RosterTimes which are linked via the column DateId. I need to insert into the column name in table Roster and Date and Area columns in the table RosterTimes. How would I go about doing this? Note: I am using the query designer in visual studio, so it has to be one long statement.

I tried modifying a few examples from here but I failed to produce anything useful:

https://msdn.microsoft.com/en-us/library/ms174335.aspx


Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog - http://www.computerprofessions.co.nr


Viewing all articles
Browse latest Browse all 12890

Trending Articles



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