Viewing 15 posts - 1,351 through 1,365 (of 7,191 total)
Lowell - Thursday, July 20, 2017 7:03 AMI would think the log would be useless, as it has what was successfully committed...
Or...
July 20, 2017 at 7:26 am
Nicole
With no DDL or sample data, it's difficult to visualise. But if you type "concatenate for xml" into your favourite search engine, you should get plenty of results...
July 20, 2017 at 4:12 am
The somewhat obtuse answer is nobody inserted it, because your primary key constraint did what it's there for and blocked it. If you really need information like this, I would...
July 20, 2017 at 4:08 am
How is the audit file structured? Is it CSV, XML, or something else?
John
July 20, 2017 at 3:54 am
If you're stuck with the stored procedure as it is, you can insert the results into a temp table and select from that.
John
July 18, 2017 at 6:35 am
July 18, 2017 at 6:13 am
Yes, I think that must have been the aspect that I ran out of time on. The reason I included the CTE that reverses the order was so that rows...
July 18, 2017 at 2:24 am
July 18, 2017 at 2:07 am
Alex
Yes, that's right. Imagine you have five dishes to wash. You'd do them yourself because it's quicker, even if you had friends sitting around doing nothing. Now imagine...
July 17, 2017 at 9:30 am
This should get you started. It's not completely as you asked, but I ran out of time. If you've never used windowing functions then you'll need to read about them...
July 17, 2017 at 9:21 am
Seriously - can you not change the compatibility level to 2012? It's just too difficult if you can't use windowing functions.
John
July 17, 2017 at 7:35 am
It means, for example, that on 27th April, you don't know whether the COMP on the N-CO came first. IN such circumstances, depending on how the query is written, SQL...
July 17, 2017 at 6:59 am
Yes, I get the gist of what you're trying to do, but you still need a tiebreaker for rows that have the same CompletedDate. Why not include the time portion...
July 17, 2017 at 6:45 am
To solve this, as far as I can see, we need to using windowing functions, which rely on an ORDER BY clause. My question is: if there's a tie on...
July 17, 2017 at 6:15 am
So it's not hung as such, it's just taking longer? What has changed? Do you have more data than you had before? Do you maintain your statistics and indexes with...
July 17, 2017 at 5:05 am
Viewing 15 posts - 1,351 through 1,365 (of 7,191 total)