Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Blessed1978
Yak Posting Veteran
97 Posts |
Posted - 2015-01-24 : 12:11:44
|
how would I go about inserting into a tablewhere I am using this formatinsert into TABLE1DECLARE @date datetimeselect @date = max(date) from sometableSELECT DISTINCT col1from tbl2inner join .... |
|
gbritton
Master Smack Fu Yak Hacker
2780 Posts |
Posted - 2015-01-25 : 09:21:18
|
What do you want to do with @date ? |
|
|
|
|
|