Viewing 15 posts - 286 through 300 (of 13,463 total)
if there is no server name, then it is implied that the database exists on the local server; is that how it was set up originally? if you can find...
October 19, 2018 at 12:16 pm
Classic ASP often made use of include files, so as Sue_H suggested, you just need to search the files for the database/server name and zoom in on possible locations to...
October 18, 2018 at 12:38 pm
Brandie I've always done something like this to keep it Sarg-able; does that help? it's an OR, i know, but it would allow indexes to be used if they exist...
October 15, 2018 at 9:29 am
ok more info for everyone.
I scanned all 100+ sql instances in my Central Management Servers.
I have seven servers that have a variance of over one day. one is...
October 10, 2018 at 2:42 pm
That is the funny part of this dilemma Sue;
I also found references that systeminfo can be incorrect.
in this case, it is the value from sys.dm_os_sys_info that is incorrect.
these...
October 10, 2018 at 1:40 pm
here's an explicit string array declaration example for powershell:MyServers=@("VMSQL01","VMSQL02\SQL2016","AnotherSrver\ETL")
October 1, 2018 at 1:32 pm
it's not a one line query, unfortunately.
SSMS opens a query to each server, executes it, and aggregates the results.
You will have to do the same, and it's a...
October 1, 2018 at 8:38 am
I do something similar, where i loop through a table full of queries, execute them on a server, and capture the results in a dataset, which is then pumped out...
September 24, 2018 at 3:24 pm
ALTER ANY DATABASE expects a [login] as the target, and not a database(user) role.
September 24, 2018 at 7:56 am
don't forget the basics: make sure you've added SET NOCOUNT ON at the top of your procedure, as well as commenting out any PRINT statements.
those add some added overhead...
September 24, 2018 at 7:53 am
I got it to work as expected by using a SUM(case..) format, with a group by.
My ending date might need to be changed, as i seem to be...
September 20, 2018 at 2:23 pm
this is a great example of testing it yourself, using EXECUTE AS can let you truly visualize and understand permissions for a user
say mydomain\lowell is the guy you...
September 19, 2018 at 11:43 am
Alejandro I have pondered this over time,and there is a difference between informational reports and exception reports for me.
An informational report might have lots of info, names of databases,configuration...
September 17, 2018 at 7:19 am
I've gone through the effort to get some certs,and i will not bore anyone with the alphabet soup.
My feelings are mixed.
I'm an experienced DBA. For me,The lower...
August 31, 2018 at 9:16 am
your WHERE statements are using functions on a columnName, LIKE statements and OR's, which eliminates the ability to use indexes, so all tables have to be scanned.
you are also...
August 28, 2018 at 10:17 am
Viewing 15 posts - 286 through 300 (of 13,463 total)