Forum Replies Created

Viewing 15 posts - 976 through 990 (of 1,654 total)

  • RE: Finding Page Splits

    Hmmmm,

    I must admit you're right.

    The information from sys.dm_db_index_operational_stats seems pretty useless and because it's a dynamic view, interpreting the results after a restart is even more of a...

    [font="Verdana"]Markus Bohse[/font]

  • RE: Finding Page Splits

    sys.dm_db_index_operational_stats contains a column "leaf_allocation_count "

    which according to BOL means "Cumulative count of leaf-level page allocations in the index or heap. For an index, a page allocation corresponds to a...

    [font="Verdana"]Markus Bohse[/font]

  • RE: SQL 2005 DB mirroring using high availability mode, can it failover to a different server name?

    When using mirroring your servers will always have different names. With synchronous or Safe mirroring you can configure auto-failover at the client by defining an alternative server in the connection...

    [font="Verdana"]Markus Bohse[/font]

  • RE: Problem setting up log-shipping

    Neil,

    when you run SELECT @@Servername(), does it return your servers name or NULL? My guess would be NULL.

    Sometimes it happens that the entry for the local server in sysservers...

    [font="Verdana"]Markus Bohse[/font]

  • RE: How to create System StoreProcedure ?

    GilaMonster (12/31/2007)


    It requires updating the system tables.

    Modifying the system tables is not a good idea. It is a very bad practice that is recommended against by most experts. It's...

    [font="Verdana"]Markus Bohse[/font]

  • RE: Role Permissions

    Sorry I can't open Ed's procedure at the moment but this is a script I use:

    SELECT Rolename,

    [Objectname],

    ...

    [font="Verdana"]Markus Bohse[/font]

  • RE: How to debug T-SQL

    As Jeff already wrote there are loads of articles around and with a little help from google you should be able to find something. Anyway here's an article I found...

    [font="Verdana"]Markus Bohse[/font]

  • RE: Script Action To Job Not Enabled - SQL Server Agent is not showing in Sql Server Management Studio Program

    SQL Express does not include SQL Agent. Are you sure the agent you see is from the Express instance? Any how the easiest way to schedule regular backups is using...

    [font="Verdana"]Markus Bohse[/font]

  • RE: How do i Set Password Expiration days for a SQL Login

    Animal Magic (12/21/2007)


    It is taken from the local security policy, which by default will be taken from the settings on the DC. You dont actually set these values within...

    [font="Verdana"]Markus Bohse[/font]

  • RE: install a new SQL Server 2005 ENTERPRISE Edition

    You need to create a new cluster group first with it's own drive letter(s).

    After installing the new instance make sure to limit the max memory settings for both instances...

    [font="Verdana"]Markus Bohse[/font]

  • RE: Backing up multiple stored procedures into individual text files

    Noman Salim (12/14/2007)


    Karthik (12/14/2007)


    [font="Verdana"]Right click on the database in SSMS. Go to Tasks->Generate Scripts.

    Go with the defaults in the wizard till you come to the page to select object types....

    [font="Verdana"]Markus Bohse[/font]

  • RE: ATTACHING DATABASE

    If you have SQL Server, Books online is most likely installed with it.You will fnd it under "Documentation and tutorials".

    There's also the online version which you can find here:

    http://msdn2.microsoft.com/en-us/library/ms130214.aspx

    [font="Verdana"]Markus Bohse[/font]

  • RE: ATTACHING DATABASE

    Look in Books On-line under attach and /or backup. You find the code and examples there.

    [font="Verdana"]Markus Bohse[/font]

  • RE: Security

    Yes, you can do this. Two possible ways

    Option 1. Create a windows group, add the users to the windows group, create a login for the windows group in sql server,...

    [font="Verdana"]Markus Bohse[/font]

  • RE: Needs to change default database for all logins. help me

    This should do the job:

    DECLARE @login nvarchar(128), @isql nvarchar(2000)

    DECLARE c1 CURSOR FOR

    SELECT name from syslogins where name <>'sa'

    OPEN c1

    FETCH NEXT FROM c1

    INTO @login

    WHILE @@FETCH_STATUS <> -1

    BEGIN

    ...

    [font="Verdana"]Markus Bohse[/font]

Viewing 15 posts - 976 through 990 (of 1,654 total)