Viewing 15 posts - 7,321 through 7,335 (of 22,213 total)
One very good reason for calling procedures from within a wrapper procedure is when you're dealing with IF statements in the procedure that would lead to bad parameter sniffing issues...
October 20, 2014 at 3:45 pm
With completely different data sets? No, there's no way to use transaction logs to do this. What you're describing is basically merge replication. That might be something to explore.
October 20, 2014 at 3:42 pm
Well, there's nothing inherent in SQL Server that would result in the system running slower just because of the time passed. You've already hit on what is usually the biggest...
October 20, 2014 at 3:40 pm
Absolutely beguiling. I think everyone knows it so well because we've all been bitten by it at one point or another.
October 20, 2014 at 3:28 pm
Jacek Falkiewicz (10/20/2014)
Grant Fritchey (10/19/2014)
October 20, 2014 at 10:06 am
In addition to the OR, we're doing NOT EQUALS. Between the two you're pretty much guaranteed scans on your indexes.
October 20, 2014 at 10:00 am
If you need to capture events per database, you can set up a filter in extended events. In fact, it's filtering mechanism is the one gigantic improvement over trace events...
October 20, 2014 at 7:24 am
Eirikur Eiriksson (10/19/2014)
October 20, 2014 at 4:51 am
Probably not, since everything changed. You might want to modify that process too.
October 20, 2014 at 4:48 am
So you mean a foreign key constraint that allows nulls versus one that does not? Yes, changing to not allowing null values could be more difficult because you'll have to...
October 19, 2014 at 6:57 am
First is the LEFT JOIN as described above, but second, compound primary keys. The JOIN criteria could simply require multiple columns. I've seen lots and lots of uses for multiple...
October 19, 2014 at 6:55 am
Contention for resources? Not sure without more information. Have you looked at the blocks and wait resources of the process while it's running? That's where I'd start in order to...
October 19, 2014 at 6:51 am
Sounds useful to me. I worked for an insurance company where we had to maintain our data in just such a manner with differing versions of data with differing effective...
October 19, 2014 at 6:49 am
OR can lead to scans on the index because multiple levels of testing are needed and you can't simply seek for values because of that. Depending on the use of...
October 17, 2014 at 3:56 pm
A case statement in the SELECT list that just picks a value based on simple input shouldn't negatively impact performance. It's when you start putting all sorts of additional data...
October 17, 2014 at 3:54 pm
Viewing 15 posts - 7,321 through 7,335 (of 22,213 total)