Viewing 15 posts - 1,081 through 1,095 (of 13,460 total)
i put together this prototype;
basically, for every SQL server in msdb.[dbo].[sysmanagement_shared_registered_servers_internal], i'm creating a linked server for it, and passing commands;
my example is just running a fancy @@version++ inventory...
Lowell
May 3, 2016 at 12:20 pm
two ideas.
can you just use two jobs, one scheduled to start on Saturday, and repeat each two weeks?
can you use a datemath and inline logic within the job step to...
Lowell
May 3, 2016 at 12:13 pm
imani_technology (5/3/2016)
Thanks. Will this work if the linked server is NOT a SQL Server database?
if the command is compliant with the other DBMS (mysql, oracle, etc,) then yes.
the ODBC...
Lowell
May 3, 2016 at 11:31 am
some groups cannot be enumerated , I've seen that on my AD, where we have two forests of AD accounts with two way trusts.
I've found we've got a groups with...
Lowell
May 3, 2016 at 11:25 am
if you are local admin, you probably want to do a takeover of the server,
then i believe you can at least add yourself via a dedicated admin connection...
Lowell
May 3, 2016 at 9:56 am
Tac11 (5/3/2016)
in the result header there are 2 columns 'date' and 'Start_time' what are these can you put specific column name? plus if I want to filter by date...
Lowell
May 3, 2016 at 6:59 am
since you don't have the error yet, i'm leaning towards checking things that are different in the other environment, like ANSI_NULLS and QUOTED_IDENTIFIER.
maybe the procedure was compiled or is running...
Lowell
May 3, 2016 at 6:19 am
i would add dates and whodunnit information to the history table as well. From what you have show so far, you cannot tell when it occurred, which could be important,...
Lowell
April 29, 2016 at 11:47 am
j-1064772 (4/29/2016)
Sioban Krzywicki (4/28/2016)
Lowell
April 29, 2016 at 8:50 am
SQL!$@w$0ME (4/29/2016)
I can't connect to a named instance(TCP/IP) through VPN connection. But I can connect to the default instance(TCP/IP) [highlight="#ffff11"]on the same server[/highlight] through VPN.
The named instance is...
Lowell
April 29, 2016 at 8:46 am
it's not a one line fix; performance and query tuning and analysis, a have entire books written on the subject.
in general, my knee jerk reaction would be to update statistics...
Lowell
April 29, 2016 at 6:48 am
just the drops scripts are pretty easy, you can just build the statements from sysjobs;
select
'IF EXISTS (SELECT job_id FROM msdb.dbo.sysjobs_view WHERE name = N''' + name + ''')
EXEC...
Lowell
April 29, 2016 at 6:38 am
Sioban Krzywicki (4/28/2016)
Lowell
April 28, 2016 at 1:04 pm
Sioban I'm with you here!
I try like crazy to make everyone replace reserved words, as well as fixing misspelled columns i inherited.
I have a column ProvdierType that makes me crazy,...
Lowell
April 28, 2016 at 12:48 pm
CTE's would work, as well as subqueries(same thing,really , just different format.
here's my version of your post as CTE's:
DECLARE @personID INT = 123999;
WITH ELDASummary
AS (SELECT...
Lowell
April 27, 2016 at 6:11 pm
Viewing 15 posts - 1,081 through 1,095 (of 13,460 total)