Viewing 15 posts - 31 through 45 (of 75 total)
Not sure what you are looking for, but I use the below code to generate a SQL script. Could be modified to do interactive restore. We also use Litespeed,...
August 25, 2014 at 12:01 pm
Here is some Powershell code, that I set up in a SQL job, to run every 30 minutes. I have a list of Instances in an AdminServer. I use...
August 25, 2014 at 8:33 am
A couple of reasons to test. One, is to ensure everything is working as advertised (it doesn't, by the way). Not all alerts get picked up automatically. Some...
July 11, 2014 at 12:24 pm
Thanks Bob. Missed that in my earlier search. I guess MS must have had their reasons for changing it.
Leonard
June 23, 2014 at 9:29 am
See this post, for some Powershell scripts: http://www.sqlservercentral.com/Forums/Topic1506486-3451-1.aspx.
There is a zip file attached to the last reply. It doesn't have the code you need to execute a PBM,...
October 24, 2013 at 6:49 am
Here is a link to an MSSQL tip: http://www.mssqltips.com/sqlservertip/2397/sql-server-central-management-servers-system-tables/. That is an article that explains how to get the Central managmeent server list.
To access using a linked server,...
October 24, 2013 at 6:32 am
Here are some of the PS code I use. To use the instance table, create the table, using the SQLServerInfoTableCreate. Rename it if you like. The LoadSQLServerInfo.ps1...
October 23, 2013 at 8:18 am
I've never been able to schedule a job, to use the registered servers, although if i remember correctly, there is a way to retreive the list, if they are in...
October 22, 2013 at 9:28 am
This may be a good place to use Powershell. I have a scheduled job, that runs daily, that checks last backup date\time, and if it is older than a designated...
October 22, 2013 at 9:22 am
Nice article. I have done something similiar, however, I use Powershell, and run a SQL job as needed. My table is very similiar to yours. When I add...
October 21, 2013 at 1:01 pm
SELECT [SPACETIME] FROM GALAXY WITH (Warp Speed)
October 18, 2013 at 12:40 pm
i do this with Powershell. Job runs every morning, and checks to see if a backup, full or differential, has been run in the last 24 hours. Also checks to...
September 19, 2013 at 12:50 pm
A simple update would take care of this.
Example 1 :
Update 1 column:
UPDATE TableName
SET Column1 = 0
WHERE Column1 IS NULL
Example 2:
UPDATE TableName
...
September 16, 2013 at 2:59 pm
You should be able to connect with the ip address of the server\pc where the sql server is installed. Just use it in the connection string. A couple...
August 19, 2013 at 1:07 pm
I do something similiar, with a couple of differences. One, I run the step as type PowerShell. The other thing I do, and I suspect this may be...
August 19, 2013 at 12:58 pm
Viewing 15 posts - 31 through 45 (of 75 total)