Forum Replies Created

Viewing 13 posts - 1 through 14 (of 14 total)

  • RE: The Ultimate Foreign Key Researcher

    Does this script work for anyone? I get a zero result set when I know that I am using a table with assummed but not materialized foriegn key relationships by...


    ============================
    Richard S. Hale
    Senior Database Marketing Developer
    Business Intelligence
    The Scooter Store
    RHale@TheScooterStore.com
    DSK: 830.627.4493

  • RE: SP_ADDARTICLE Help needed

    Do you have the exact execution command?


    ============================
    Richard S. Hale
    Senior Database Marketing Developer
    Business Intelligence
    The Scooter Store
    RHale@TheScooterStore.com
    DSK: 830.627.4493

  • RE: Help with hitting a wall

    One primary key based on the DOcument Identifier which is a GUID.

    A primary key by default is a clustered index. You may want to make this a simple unique...


    ============================
    Richard S. Hale
    Senior Database Marketing Developer
    Business Intelligence
    The Scooter Store
    RHale@TheScooterStore.com
    DSK: 830.627.4493

  • RE: Clustered vs Non-Clustered indexes....

    When you look at the execution plan take note of any book mark look ups and plan your indexes around them.. The optimal solution here would be a clustered index...


    ============================
    Richard S. Hale
    Senior Database Marketing Developer
    Business Intelligence
    The Scooter Store
    RHale@TheScooterStore.com
    DSK: 830.627.4493

  • RE: performance problem

    Locks are another issue if the system is highly transactional you want to take transaction log snapshots during the day and diffs or fulls at night. The drive performance will...


    ============================
    Richard S. Hale
    Senior Database Marketing Developer
    Business Intelligence
    The Scooter Store
    RHale@TheScooterStore.com
    DSK: 830.627.4493

  • RE: Use default on non-null column when data pump inserts nulls

    The above comment is correct you need to include a logical else and tell it what to do if it finds a null.


    ============================
    Richard S. Hale
    Senior Database Marketing Developer
    Business Intelligence
    The Scooter Store
    RHale@TheScooterStore.com
    DSK: 830.627.4493

  • RE: DTS VS Linked Server

    Three Reasons for DTS over Linked Server:

    1: The DTS Data pump Item will allow you to set commit batch size per transaction which will improve overall performance and reduce the...


    ============================
    Richard S. Hale
    Senior Database Marketing Developer
    Business Intelligence
    The Scooter Store
    RHale@TheScooterStore.com
    DSK: 830.627.4493

  • RE: Large Database Replication Initialization

    There isnt any way really to optimize the BCP portion of snapshot reintialization. I would suggest unfortunately to eliminate the network as the others have suggested and burn to DVD.


    ============================
    Richard S. Hale
    Senior Database Marketing Developer
    Business Intelligence
    The Scooter Store
    RHale@TheScooterStore.com
    DSK: 830.627.4493

  • RE: Large Database Replication Initialization

    How big are your snapshots?? in MB just a ballpark


    ============================
    Richard S. Hale
    Senior Database Marketing Developer
    Business Intelligence
    The Scooter Store
    RHale@TheScooterStore.com
    DSK: 830.627.4493

  • RE: Error 21776 SQL DMO - nothing found on technet

    These stored procs will remove lingering replication systems settings on both the subscriber and the publisher's sides of replication.

    Run on Subscriber Server.

       Run sp_RemoveDBReplication "[Subscriber Database Name]"

     

    Run on Publisher Server.

      ...


    ============================
    Richard S. Hale
    Senior Database Marketing Developer
    Business Intelligence
    The Scooter Store
    RHale@TheScooterStore.com
    DSK: 830.627.4493

  • RE: Replicate from database A to database B on, different servers

    Which server is enabled as a distributor? aka. Has the distribution database on it.

     


    ============================
    Richard S. Hale
    Senior Database Marketing Developer
    Business Intelligence
    The Scooter Store
    RHale@TheScooterStore.com
    DSK: 830.627.4493

  • RE: Large Database Replication Initialization

    Is the replication within your LAN or are you trying to replicate out over a T1 or Something? Also are the Snapshots being generated local to the distributor or on a...


    ============================
    Richard S. Hale
    Senior Database Marketing Developer
    Business Intelligence
    The Scooter Store
    RHale@TheScooterStore.com
    DSK: 830.627.4493

  • RE: How Can I Generate a List of the Columns that Comprise the Primary Key?

     SELECT

             column_name name,

                    constraint_name name

     FROM   

      '+@destination_DatabaseName+'.information_schema.key_column_usage

     WHERE

      constraint_catalog='''+@destination_DatabaseName +'''

                    and table_name = '''+@destination_TableName+'''

     ORDER BY

                    constraint_name, ordinal_position


    ============================
    Richard S. Hale
    Senior Database Marketing Developer
    Business Intelligence
    The Scooter Store
    RHale@TheScooterStore.com
    DSK: 830.627.4493

Viewing 13 posts - 1 through 14 (of 14 total)