Viewing 15 posts - 481 through 495 (of 7,187 total)
I suppose it depends what the DBA's job description is. But usually I'd say that designing a data warehouse would be the responsibility of a developer or data architect. A...
July 15, 2019 at 12:35 pm
OK, please post the login failure message(s) from the errorlog, and the result of this query:
SELECT type
FROM sys.server_principals
WHERE name = 'SVCINFODEVEL'
John
July 15, 2019 at 12:27 pm
(1) Grant the service account the necessary database access on the server
(2) Configure the application on each PC to run under the service account
John
July 15, 2019 at 10:35 am
I typed "sql bridge table" into my favourite search engine and got a few promising results. Another term for it is "junction table" - you may get some more results...
July 15, 2019 at 9:57 am
Yes, you can do that.
John
July 15, 2019 at 9:53 am
Have you tried using DATEPART(week)?
John
July 12, 2019 at 3:15 pm
One way to do it would be to dump the results of sp_whoisactive into a temp table and filter out statements not related to index maintenance.
John
July 10, 2019 at 2:52 pm
Have a read through this. It covers the issue you're having.
John
Edit: oops - didn't see Jonathan's reply
July 10, 2019 at 2:47 pm
Yes - by all means do a one-off shrink after you've truncated all those tables, but don't set auto-shrink on, otherwise you'll be wasting resources shrinking and growing, shrinking and...
July 8, 2019 at 3:35 pm
Maybe you just need to lose "FROM (" from the first line?
John
Edit - or do you just need a closing bracket at the very end?
June 28, 2019 at 9:46 am
If you change EXEC (@SQL) to PRINT @sql, do you still get the error? If not, the error is in the dynamic SQL. If you eyeball the @sql output, you...
June 28, 2019 at 9:37 am
No, because the parameter value is the primary key and so only one row can match. You're deleting one row, changing the parameter value, deleting one row again, and so...
June 27, 2019 at 11:59 am
How are you running the query? The query for which you posted the plan will only delete a single row, since your WHERE clause specifies a single value of the...
June 27, 2019 at 10:14 am
Jonathan is right. To answer your question directly, no it doesn't mean that. The CATCH block will be invoked because there was an error in the TRY block. The XACT_ABORT...
June 26, 2019 at 1:57 pm
I guess that your question is how do you check the space remaining on the drive? Try using the stored procedure xp_fixeddrives.
John
June 24, 2019 at 1:32 pm
Viewing 15 posts - 481 through 495 (of 7,187 total)