Viewing 15 posts - 316 through 330 (of 1,838 total)
You can find what procs and triggers are calling it with a search such as:
SELECT s.name AS schema_name, o.name AS object_name, o.type_desc
FROM sys.objects o
...
June 7, 2019 at 6:24 pm
No, new features would not be available if the entire database is in compatibility mode. If you are able to examine the execution plans and figure out which queries are...
June 6, 2019 at 4:04 pm
When running on the SQL Server 2016 database, you are using the new cardinality estimator, and there may be a query as part of the SAP dataflow that performs differently,...
June 5, 2019 at 7:22 pm
The problem could be related to this note in documentation:
since you gave "GRANT EXECUTE" permission to a role, you may have needed "AS dbo" clause. Since you granted CONTROL...
June 5, 2019 at 7:16 pm
Since the 2 errors involved, 297, 300 are just normal severity errors (16 and 14 respectively) they will not be put in the error log. Since this is just a...
May 31, 2019 at 8:52 pm
You would probably want to use OUTER APPLY instead of the CROSS TAB approach then:
SELECT LEFT(d.name,20) AS DBname, LEFT(d.state_desc,10) AS StateDesc, LEFT(d.recovery_model_desc,10) AS RecoveryModel,
...
May 31, 2019 at 8:27 pm
You should check out the DMV sys.dm_db_partition_stats:
This has columns lob_used_page_count, lob_reserved_page_count, and can be queried like this:
SELECT object_id, index_id, SUM(used_page_count) / 128 AS size_MB, SUM(used_page_count) AS...
May 31, 2019 at 8:14 pm
Depending on what you are looking for, you can probably find at least some information on one or the other of your requests, but probably not both.
If the object in...
May 30, 2019 at 6:51 pm
It seems fitting that Entity Framework would be described as modifying databases that way 🙂
May 23, 2019 at 7:25 pm
What are you expecting needs the RAM that SQL Server is holding on to? Freeing buffer or proc cache won't necessarily reduce how much RAM SQL Server is using, it...
May 23, 2019 at 6:42 pm
If you want to analyze something that has already run, the quickest way to look at it is through the internally stored query stats:
SELECT TOP 25
...
May 21, 2019 at 9:09 pm
Grant's advice is great, and he really is a top expert on the subjects at hand, but for someone new to SQL Server going through all that is like drinking...
May 21, 2019 at 9:05 pm
I've seen this behavior if the already open SSMS program has a modal window or dialog box outstanding, then it can't respond to the operating system's request to open the...
May 8, 2019 at 7:26 pm
I tend to set the database to the RESTRICTED_USER mode, I think it avoids the problem with SINGLE_USER mode since there are far fewer people who have SYSADMIN, DB_OWNER, or DB_CREATOR...
May 6, 2019 at 6:49 pm
SentryOne Plan Explorer is a free tool that can help you better understand what is happening in an execution plan. It also has the ability to "anonymize" the plan so...
April 29, 2019 at 3:02 pm
Viewing 15 posts - 316 through 330 (of 1,838 total)