Viewing 15 posts - 136 through 150 (of 326 total)
Try this one , It might help ;
Merge into desttable as target
using
(
select col1, col2,col3,col4,col5 from sourcetable
except
select col1, col2,col3,col4,col5 from desttable
) as source
on target.col1=source.col1 -- (use primary key )
when matched...
January 29, 2013 at 3:39 am
nice and easy ..
thanks for the question ..
Also, about the explanation
The row with Comment 'row 3' is rejected by database engine because decimal integer 2 (which is...
January 28, 2013 at 9:27 pm
Lokesh Vij (1/27/2013)
demonfox (1/27/2013)
CDC is more like versioning than audit ; what does it mean by audit trail on daioy transactions ?
does it more related to logging of transaction by...
January 28, 2013 at 12:02 am
Lokesh Vij (1/27/2013)
January 27, 2013 at 10:26 pm
Lokesh Vij (1/27/2013)
Thanks Ron for another one on SS 2012.Though I understood the CHOOSE function well, but have to query Employee table to get the answer correctly.
Ya , without Employee...
January 27, 2013 at 10:20 pm
Well, I got it wrong for thinking ; that the university website needs more publications and subscriptions , so better to have xml structures ; good for subscribers..
January 24, 2013 at 11:03 pm
Lokesh Vij (1/21/2013)
An easy one for the day. Looking at all the answers, it was quite obvious to find the correct one (the odd one out).Posting the correct link:
http://msdn.microsoft.com/en-us/library/ms177603.aspx
Thanks!
+1
January 22, 2013 at 2:52 am
carlecot88ssn (1/18/2013)
January 18, 2013 at 4:22 am
scottsnyder55 (1/17/2013)
January 18, 2013 at 4:17 am
carlecot88ssn (1/18/2013)
January 18, 2013 at 4:12 am
Jason-299789 (1/18/2013)
However, I dont think its an issue when you consider it logically the sum indacates that...
January 18, 2013 at 3:06 am
Jason-299789 (1/18/2013)
Its possibly more dangerous to have a user defined objects in your Master database.
Good one Jason !!! 😀 :w00t:
January 18, 2013 at 2:57 am
Nice problem; I guess i need to read the long detail provided ..
Well, about the copy paste solution for the 2nd and third, I think dynamic sql could be of...
January 18, 2013 at 2:50 am
Viewing 15 posts - 136 through 150 (of 326 total)