Viewing 15 posts - 31 through 45 (of 82 total)
We were making # tables. We have considered making permanent tables for each process (e.g. TTemp_MaintainActuals1, TTemp_MaintainActuals2, TTemp_MaintainActuals3, TTemp_MaintainActuals4 ... TTemp_MaintainActuals32767) but that would require quite...
October 22, 2018 at 10:23 am
Excellent question! And one we have considered. We found that creating temporary tables for each process was significantly slower than using permanent ones.
October 22, 2018 at 10:04 am
The "it" was the suggested solution:SELECT TOP 5 PERCENT *
FROM...
July 16, 2018 at 8:43 am
Interesting, because I had thought that any function that took no parameters or a hard coded value parameter would only be evaluated once and would return the same...
July 16, 2018 at 4:30 am
You quite rightly say
When placing your Dynamic SQL code into production (typically in stored procedures), be careful about concatenating alphanumeric parameters directly because of SQL injection.
February 12, 2018 at 2:16 am
I guess I just don't understand the use case that requires this. Foreign Keys exist to enforce a relationship, which you are effectively over-riding and creating a...
June 30, 2017 at 6:23 am
Thanks everybody. We're getting some promising-looking results from a very similar idea - that of making #InsertedDeleted from a full join of #Inserted and #Deleted and then using it in...
June 29, 2017 at 9:30 am
I've attached the real execution plans, both for 2012 and 2014. These are for the...
June 29, 2017 at 4:35 am
On SQL 2016:
What lead me to try that was the estimated rows...
June 29, 2017 at 3:27 am
June 29, 2017 at 2:06 am
June 28, 2017 at 12:15 pm
Thanks very much for that. Obvious (in retrospect!)
May 26, 2017 at 2:35 am
Thanks for your reply.
What happens in the explicit transaction before that Insert Into dbo.TTemp_ActualCreateCPLI?
Probably all manner of things! So what you're saying is that all...
May 25, 2017 at 12:26 pm
Viewing 15 posts - 31 through 45 (of 82 total)