Viewing 15 posts - 1,336 through 1,350 (of 7,187 total)
I think such events are captured in the default trace, so you can query that. If you want to store this information on an ongoing basis, you might prefer to...
July 26, 2017 at 8:50 am
Logins are in sys.server_principals; users are in sys.database_principals in each database. You can join the two to find out which database users are orphaned and/or which logins don't have explicit...
July 26, 2017 at 8:29 am
Run the command exactly as Lowell posted. You missed the hyphen out.
John
July 26, 2017 at 8:26 am
No, the table is dropped when the connection that created it finishes. So if the code in question will be executed multiple times from the same connection then yes, you...
July 26, 2017 at 6:07 am
SELECT STUFF(STUFF(RIGHT('0' + '92332',6),5,0,':'),3,0,':')
John
July 24, 2017 at 9:49 am
This is a question that only you can answer, I think. From here, it looks as if you enjoy the work, you enjoy the company and you're well paid, so...
July 24, 2017 at 4:08 am
Check the ExecutionLog table in Reporting Services to see how much of the time the report took to execute was query time and how much was rendering time. Also check...
July 24, 2017 at 3:52 am
Yes, I noticed that as well. It disturbs me a little, too. I suppose only Ola knows the reason for it. I have been known to go through the jobs...
July 24, 2017 at 2:50 am
I typed "function v stored procedure" into my favourite search engine and got a whole load of results. You could do the same.
I'm not sure what your expert...
July 21, 2017 at 7:48 am
You're going to need a sysadmin to something for you, whether that's enabling ad hoc distributed queries, or setting up a linked server object. There are other options, as long...
July 21, 2017 at 7:40 am
There's a hostname column in sysprocesses - have you looked at that? You shouldn't be using sysprocesses at all, though - it's only provided for backwards compatibility with SQL Server...
July 20, 2017 at 8:01 am
Lowell - Thursday, July 20, 2017 7:03 AMI would think the log would be useless, as it has what was successfully committed...
Or...
July 20, 2017 at 7:26 am
Nicole
With no DDL or sample data, it's difficult to visualise. But if you type "concatenate for xml" into your favourite search engine, you should get plenty of results...
July 20, 2017 at 4:12 am
The somewhat obtuse answer is nobody inserted it, because your primary key constraint did what it's there for and blocked it. If you really need information like this, I would...
July 20, 2017 at 4:08 am
How is the audit file structured? Is it CSV, XML, or something else?
John
July 20, 2017 at 3:54 am
Viewing 15 posts - 1,336 through 1,350 (of 7,187 total)