Viewing 15 posts - 1,411 through 1,425 (of 7,614 total)
Exactly. And that's what I meant too.
Jeff said that he'd "still" "say NO". But, once you've made your objections known, and in writing for the record, and management still decides...
July 16, 2021 at 3:11 pm
Maybe?:
,(sum(isnull(sc.numberofprocedures, 1))) 'ProcCount'
July 14, 2021 at 11:47 pm
Your own login must not have SHOWPLAN permissions. Check to see if someone will GRANT you that permission.
As a DBA, I give that permission to everyone. I don't see how...
July 14, 2021 at 11:45 pm
Hmm, ran fine for me, but I'm on SQL 2016. I think that code should work all way back to 2008, or at least 2012.
We could join to the entire...
July 14, 2021 at 10:30 pm
;WITH cte_test_data AS(
SELECT * FROM ( VALUES
(1,'Not Paid', CAST('7-1-21' AS date)),
...
July 14, 2021 at 6:05 pm
Hi,
I'm in the process of doing a comparison of all the options available:
Scripts Integration Services 3rd Party Tools
We will have hundreds of instances and thousands of databases so need...
July 14, 2021 at 3:11 pm
Personally, my answer to my boss would still be "NO (with an explanation as to why) but I'll be happy to execute any query under direct supervision after I've...
July 13, 2021 at 2:39 am
Sorry, I thought I had posted some possible solutions. I coulda' sworn I posted that and my response to Jeff earlier but it's obviously not here now. Wish I'd kept...
July 13, 2021 at 2:26 am
The DBA would not be in direct control of any genuine audit process. It's too much of a potential conflict of interest. Think about it: the company is/may be doing...
July 13, 2021 at 12:04 am
Don't know, since we can't see the code. Just adding ROW_NUMBER() to a query should not increase the number of rows.
July 12, 2021 at 2:07 pm
Best would be to create the proc so that it runs as "OWNER", if SQL allows you to do that. Then the auditors wouldn't need separate permissions of their own.
Otherwise,...
July 11, 2021 at 7:22 pm
Columnstores perform better because they compress data extremely well.
If you a rowstore that's totally uncompressed, the difference will be massive. If the rowstore is page compressed, at least it has...
July 9, 2021 at 8:55 pm
Hi ScottPletcher, I have not seriously considered page compression instead of (N)CCI's as not using any columnstores would require us creating B-Tree indexes to keep query performance sane. In...
July 9, 2021 at 7:07 pm
Thank you for your answers.
The EXEC command returns the same error, I had already tried this.
I don't want to create the object on the second database, cause my query...
July 9, 2021 at 3:18 pm
EXEC('SELECT * INTO [SecondDatabase].[dbo].[object_name] FROM [FirstServer].FirstDatabase.dbo.object_name') AT [SecondServer]
July 9, 2021 at 2:58 pm
Viewing 15 posts - 1,411 through 1,425 (of 7,614 total)