Viewing 15 posts - 316 through 330 (of 7,191 total)
You can still look for them and bring them to the vendor's attention. But it may not be anything to do with the quality of their code - it may...
December 5, 2019 at 2:03 pm
The default trace will show you when tempdb grew, but not why. Analysing tempdb growth is difficult, because there are so many moving parts. Are you using Snapshot Isolation? Does your code...
December 5, 2019 at 9:34 am
It's all in the link I posted, as far as I can see. Please ask if there's anything in particular you don't understand, or if anything appears to be missing.
John
December 5, 2019 at 9:15 am
Hi John
the original poster mentioned "when we trying to shrink the data file, the space is not getting released to OS. Why? how to reclaim the space?"
Oh yes, that's...
December 4, 2019 at 2:04 pm
Sam
Space from deleted data is not automatically released to the operating system. You have to shrink the data files to get the space back.
Please post the code that your App...
December 4, 2019 at 12:39 pm
Yes, with the Actual execution plan, you get estimated and actual values. By comparing them you can get some idea of how accurate your statistics are.
John
December 4, 2019 at 11:04 am
December 4, 2019 at 9:45 am
As I explained earlier, if you do that connections that started and finished between savings won't be captured. That's why it's better to use Audit, XE, trace, eventlog or whatever...
December 3, 2019 at 4:14 pm
I won't say that you absolutely can't, but it would be a lot easier to pull it all into a table daily (or whatever frequency works best for you) for...
December 3, 2019 at 8:50 am
I agree about preferring sp_execute_sql, but I think it's only one particular feature of the command that's deprecated, not the command itself.
John
December 2, 2019 at 4:45 pm
Sounds about right. But then you'll be exporting to the exact same file from your job, and if you still have that file open, it'll fail. If you don't still...
December 2, 2019 at 4:29 pm
I don't know, because I can't see what you can see. Is changing the name of the file you're exporting to an option?
John
December 2, 2019 at 3:59 pm
There is nothing else opened where? If the workbook is on a file share, it could be in use by anyone anywhere (depending on how tightly you define your share...
December 2, 2019 at 3:53 pm
It looks as if you're trying to open an Excel workbook but another user or process already has it open.
John
December 2, 2019 at 3:47 pm
I'd also get out of the habit of having discrete logins even if they're Active Directory logins. Use Active Directory Groups instead. Of course, the exception (there's almost always...
December 2, 2019 at 9:14 am
Viewing 15 posts - 316 through 330 (of 7,191 total)