Viewing 15 posts - 256 through 270 (of 583 total)
Do you know what servers the instances are installed on? If so you could write a powershell shell script to get this info. (example Powershell script[/url])
If you don't know...
July 16, 2013 at 10:45 am
another option would be to encapsulate each proc in a try-catch block
BEGIN TRY
EXEC storeproc1
END TRY
BEGIN CATCH
PRINT 'storeproc1 failed'
END CATCH
BEGIN TRY
EXEC storeproc2
END...
June 27, 2013 at 2:04 pm
was there any install log after you canceled the install?
June 27, 2013 at 12:01 pm
I would think that since you have an error, even if you could get the installation to complete, it would not be successful and you would not want to use...
June 27, 2013 at 11:36 am
check the log @ C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\<datetime>\detail.txt.
any errors or what is the last successful command.
June 26, 2013 at 3:12 pm
You probably have to create a new database instead of just changing the one that you currently have. If you have many reports configured in your current database, you can...
June 13, 2013 at 8:50 am
here you go, just in reverse.
http://technet.microsoft.com/en-us/library/bb326407(v=sql.105).aspx
June 12, 2013 at 12:10 pm
Here is a powershell script that will query your CMS and check for the SSAS service on all servers in your CMS as well as whether the service is running...
June 12, 2013 at 9:40 am
It is a pretty slick tool. It does make for much easier searching than sys.sql_modules. 🙂
May 22, 2013 at 10:36 am
I tend to use this when looking for references in views, procs, functions.
SELECT *
FROM sys.sql_modules
WHERE definition like '%<search string>%'
May 22, 2013 at 10:08 am
try using dynamic sql for your alter query
declare @sql nvarchar(max)
set @sql = 'ALTER DATABASE '+@TableName+' SET SINGLE_USER WITH ROLLBACK IMMEDIATE;'
exec sp_executesql @sql;
May 7, 2013 at 12:35 pm
The powershell requirements are listed in the link provided. You would need SP2 for windows 2003 and CLR 2.0 which is include with .net framework 2.0, 3.0 and 3.5SP1
You would...
April 11, 2013 at 8:47 am
What windows version are both the servers on? Powershell comes installed by default on windows 2008 but you will need to install it on earlier version.
you can get the installer...
April 9, 2013 at 3:09 pm
I am hardly and expert on XML path and HTML, novice is more like it, but I have used similar method to send HTML emails.
you will need to split up...
March 25, 2013 at 3:40 pm
If you want to script out the linked server definitions, here is a powershell script that will accomplish this.
Add-PSSnapin SqlServerProviderSnapin100
Add-PSSnapin SqlServerCmdletSnapin100
$server="<servername>"
$scriptpath="<path of script file>"
cd SQLSERVER:\SQL\$server\DEFAULT\LinkedServers
$Scripter=new-object ("Microsoft.SqlServer.Management.Smo.Scripter") ($server)
$Scripter.Options.DriAll=$True
$Scripter.Options.IncludeHeaders=$True
$Scripter.Options.ToFileOnly=$True
$Scripter.Options.WithDependencies=$False
foreach ($Item in Get-ChildItem)...
March 21, 2013 at 10:34 am
Viewing 15 posts - 256 through 270 (of 583 total)