Forum Replies Created

Viewing 15 posts - 256 through 270 (of 582 total)

  • RE: A produce that reports versions, editions and product name of SQL Server installs

    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...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: SQL Server Agent - Transact SQL script

    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...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: SQL SERVER 2008 64 bit installation on Windows 2008 - Error code 32

    was there any install log after you canceled the install?

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: SQL SERVER 2008 64 bit installation on Windows 2008 - Error code 32

    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...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: SQL SERVER 2008 64 bit installation on Windows 2008 - Error code 32

    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.

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: 2008 R2 install (Sharepoint integrated mode)

    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...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: 2008 R2 install (Sharepoint integrated mode)

    here you go, just in reverse.

    http://technet.microsoft.com/en-us/library/bb326407(v=sql.105).aspx

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: How to easily find which of our hundreds of servers has Analysis Services installed?

    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...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Search Code in multiple Views

    It is a pretty slick tool. It does make for much easier searching than sys.sql_modules. 🙂

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Search Code in multiple Views

    I tend to use this when looking for references in views, procs, functions.

    SELECT *

    FROM sys.sql_modules

    WHERE definition like '%<search string>%'

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Erro creating procedure oneligne ok two ligne errors!!

    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;

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Need help on Powershell for SQL 2008 R2

    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...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Need help on Powershell for SQL 2008 R2

    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...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Splitting rows in HTML from sp_send_dbmail

    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...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Anyone help to script the linkedservers on weekly basis by automatically

    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)...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

Viewing 15 posts - 256 through 270 (of 582 total)