Viewing 15 posts - 316 through 330 (of 642 total)
I would like to follow this, but I don't understand the sentence "if they are use it to populate field Sort with the value". I don't see the Sort column...
April 21, 2013 at 10:06 pm
truth is that I would be honored to meet you all at a SQL Pass summit one day. Each of you have been tremendously helpful to my SQL learning....
April 14, 2013 at 11:13 pm
I'll just make a temp table with the columns renamed, and un-pivot against the temp table instead of the original table.
April 2, 2013 at 9:59 pm
Yes, except that David Webb-200187, good man that he is, answered the question I had, which is wonderful. Sometimes you just need a relevant answer, yes?
Thank you David Webb-200187,...
April 2, 2013 at 8:29 am
Yes, I agree. There's also an sp_msforeachdb function available....
But I needed to learn the cursor
April 1, 2013 at 5:32 pm
Hi,
I would do two things:
Make sure there is a Projection_Date column in destination table. Then, on the last line of the merge statement I would add an additional SET statement...
April 1, 2013 at 9:41 am
Thank you Lowell. I still Still STILL must learn to utilize these temp tables and other tools! Thank you for showing me.
March 29, 2013 at 1:35 pm
You were very helpful to me. I removed the two extra columns I don't need and ran cursor in a new window and now I have results. Thanks you.
what...
March 29, 2013 at 11:48 am
thanks for help. Yes, cursor will be find for this case. I removed 'GO' and now I get the following error.
Msg 16915, Level 16, State 1, Line 4
A cursor...
March 29, 2013 at 11:29 am
OK, I have re-examined my design and am doing away with the clustered PK....will introduce a lookup table instead. Thank you for not letting me hurt myself. 🙂
March 28, 2013 at 11:28 am
Lynn, I'm a DBA, it turns out. Does that mean that the list I am getting when I do select * from sys.database_principals is complete afterall?
March 27, 2013 at 5:52 pm
Viewing 15 posts - 316 through 330 (of 642 total)