Forum Replies Created

Viewing 15 posts - 226 through 240 (of 497 total)

  • RE: How to configure sql server 2008 memory

    I assume the version of SQL Server is 32bit, otherwise no need to put anything into boot.ini.

    If the amount of RAM is less then 16GB than should put 3GB switch.

  • RE: Named Instances

    Is this is at all possible restarting the instance on which the database used to be may help. Sometimes when you detach the database the file may still have...

  • RE: How to grant a login access to that db when that db is in "StandBy /ReadOnly" mode?

    1. Create a login on the source server, give all the permissions you need on the standby database

    2. Disable the login on the source server, so nobody can use it...

  • RE: Autoi Restore - Litespeed

    I understand if you restore from one server to another with different drive and folder names, you would need to specify "with move" option. If the folder and drive...

  • RE: Autoi Restore - Litespeed

    Ok, nvarchar(max) should resolve all your problems. Just change @s-2 declaration:

    Declare @s-2 nvarchar(max)

  • RE: Autoi Restore - Litespeed

    Yes you can. You can use a larger datatype to fit your script and then just print it out. However 8000 character should work for your immidiate needs as...

  • RE: Autoi Restore - Litespeed

    Ok, what you could do is to declare two variables:

    Declare @s-2 nvarchar(4000)

    Declare @s1 nvarchar(4000)

    After this line:

    set @s-2 = @s-2 + '"' + @dfname + '" to "' + @newdatapath +...

  • RE: Autoi Restore - Litespeed

    Ok, your command is very long and does not fit into the string variable.

    Try changing

    Declare @s-2 nvarchar(1024)

    to

    Declare @s-2 nvarchar(4000)

  • RE: Autoi Restore - Litespeed

    I see, you probably run it like this:

    EXEC usp_RestoreDBsFromFolder

    @path = '\\OBBEAVER\PA\RevBudget.BAK',

    @newdatapath = 'D:\SQLData\',

    @newindexpath = 'D:\SQLData\',

    @newfulltextpath = 'D:\SQLData\',

    @newlogpath = 'E:\SQLLogs\'

    You should run it like this instead:

    EXEC usp_RestoreDBsFromFolder

    @path = '\\OBBEAVER\PA\',

    @newdatapath = 'D:\SQLData\',

    @newindexpath...

  • RE: Rename Instance

    You can not rename a named instance. If you rename your computer, then you can change the first part of the name to match the new name of the...

  • RE: Autoi Restore - Litespeed

    Mike,

    Sorry for the delayed response. Try changing this line:

    set @ext = (select substring(PhysicalName, charindex ( '.', PhysicalName, 18), 5) from #backuplist where LogicalName = @dfname)

    to

    set @ext = (select...

  • RE: Autoi Restore - Litespeed

    This is what I use. The SP would take all backups from a particular folder and then use xp_restore_filelistonly to extract the list of the files. It will...

  • RE: How soon infromation in full text catalogs becomes available

    This is what I found about "AUTO" option in BOL:

    "Although changes can be propagated automatically, these changes may not be reflected immediately in the full-text index."

    What is the typical lag...

  • RE: Script all jobs on SQL 2005/2008 Server

    I am not good with VB either. In fact I have no knowledge of it at all, because I am not a developer. I was just wondering if...

  • RE: Script all jobs on SQL 2005/2008 Server

    No, this is not what I want. I don't want a manual process, I want automatic. E.g. a job running every night and scripting all the jobs into...

Viewing 15 posts - 226 through 240 (of 497 total)