Viewing 15 posts - 61 through 75 (of 5,393 total)
Multi-statement table valued functions can be found in sys.objects with type = 'TF':
SELECT OBJECT_SCHEMA_NAME(object_id) + '.' + name
FROM sys.objects
WHERE type = 'TF'
Inline table valued functions have type = 'IF'
SELECT OBJECT_SCHEMA_NAME(object_id)...
September 6, 2016 at 4:08 am
The only thing that comes to my mind is sp_get_query_template.
It is used to get the parameterized form of a query, but it fails if the query is not valid.
BEGIN...
September 1, 2016 at 10:28 am
I have no idea how SQL Server calculates that number, especially when no page has ever been flushed from the cache: I can only tell you what it means.
I don't...
September 1, 2016 at 9:29 am
Usually intermittent performance issues are caused by:
* blocking
* bad parameter sniffing
For the first one, I would set up some monitoring. With SQL Server 2005 your options are not many: I...
September 1, 2016 at 8:59 am
Lynn Pettis (9/1/2016)
spaghettidba (9/1/2016)
September 1, 2016 at 8:48 am
PLE is a counter that represents the number of seconds a data page is expected to live in the buffer cache before it is evicted to make room for other...
September 1, 2016 at 8:34 am
spaghettidba (8/29/2016)
If you want to restrict access to only db owners (any number of them at the same...
August 29, 2016 at 6:35 am
It will allow only one user at a time to access the database.
If you want to restrict access to only db owners (any number of them at the same time),...
August 29, 2016 at 3:55 am
ALTER DATABASE MyDatabase SET SINGLE_USER
August 29, 2016 at 3:22 am
No, credentials and proxy are for execution, not for managing the jobs.
The builtin roles are for managing jobs. Set the owner of the job to the user you need to...
July 29, 2016 at 2:30 am
Lowell, why don't you use the API for that?
You can stream the event in (near) realtime if you have a session running, or you can post-process the event reading a...
July 25, 2016 at 9:14 am
pnx81 (7/25/2016)
my account was set up unter "Login/credentials" as UtilityAgentProxyCredentials but this was 4-5 month ago that I set this up but never used again.Maybe I found the showstopper
That could...
July 25, 2016 at 4:30 am
SQL Server Agent could impersonate you windows users in these cases:
1) You are the owner of a job and not a sysadmin in SQL Server
2) SQL Server Agent service is...
July 25, 2016 at 3:44 am
There is no way to tell that without setting up an auditing mechanism upfront.
SQL Server does not store logon history anywhere, unless explicitly instructed to do so.
July 21, 2016 at 7:28 am
Viewing 15 posts - 61 through 75 (of 5,393 total)