Viewing 15 posts - 931 through 945 (of 4,085 total)
You haven't followed the rules for XML concatenation. Try the following instead.
SELECT @cols = STUFF(( SELECT DISTINCT TOP
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 12, 2018 at 8:21 am
This is a variant on interval packing. Here is what I came up with. I think there is a better way to approach this, but I don't really have time...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 11, 2018 at 1:20 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 10, 2018 at 10:48 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 10, 2018 at 8:52 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 10, 2018 at 7:51 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 7, 2018 at 3:17 pm
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 7, 2018 at 3:07 pm
Do you really want to insert changed rows? Usually people want to update changed rows and insert new rows. As for identifying which are new/changed, I like EXCEPT unless your...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 7, 2018 at 9:24 am
You should never use a NULL value as an endpoint of an interval. It becomes complicated very quickly when both the beginning and end of an interval can be null. ...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 6, 2018 at 8:39 am
You haven't set up your procedure to take parameters, but you've tried to pass in parameters. From your procedure, it looks like you want to change it so that it...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 6, 2018 at 8:03 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 6, 2018 at 7:50 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 5, 2018 at 1:30 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 5, 2018 at 11:47 am
I think that my degree in Linguistics actually helped prepare me more for working with databases than my degree in Mathematics did, mostly because it helped me think in a...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 5, 2018 at 11:39 am
select TOP 10 from DateExpensed where * from dbo.Table_1 order by DateExpensed...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 5, 2018 at 10:23 am
Viewing 15 posts - 931 through 945 (of 4,085 total)