Forum Replies Created

Viewing 15 posts - 1,786 through 1,800 (of 3,060 total)

  • RE: [DTS] How to delete all rows in destination before import into ms-access

    On DTS Export wizard, once you have selected the source SQL Server tables click on "Transform" then select "Delete rows on destination". This has to be done for each table.

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Maintenance Plan Backups

    nano2nd (6/30/2010)


    The Wizard does not give me the option of selecting a directory that is not on the primary server.

    1- Share a directory on remote server

    2- On primary server map...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: ETL

    Glad to help.

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Candidate Key Or Composite Key

    Gopal Rathore (6/30/2010)


    Is this will be a good database design because it will make joins faster but again I will have to compromise with finding formulaId in Detail table as...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Is there a limit on the number of databases a maintenance plan can back up?!

    Were all 108 databases set to full recovery model?

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Function or procedure?

    I'm in agreement with Gianluca.

    Having said that - as a rule of thumbs - I generally favor functions when the piece of code is expected to be reused and can...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Partitioning large tables for performance.

    stewartc-708166 (6/30/2010)


    Partitioning should not be used on moderate sized transactional tables.

    It works best for the archiving of huge datasets (hundred million plus records) that are not interrogated on a regular...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: ETL

    greg eze (6/29/2010)


    Yes Pablo, a scheduled job does that daily. Any more help?

    Yes.

    1 - Do not use delete, use truncate - much faster.

    2 - Drop constraints / Truncate / Load...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Maintaining Uniqueness

    I wouldn't call them "customers" but "victims".

    I'm tempted to say: "just ask everybody for her/his SSN and use it as PK" but I'll behave well and I'll refrain for saying...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Partitioning large tables for performance.

    Larry Kruse (6/29/2010)


    Paul - Thanks for your feedback. I reviewed the article which mostly discusses the MAXDOP settings. While it certainly provides something interesting to consider regarding parallelism,...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Inserting data from Oracle to SQL Server 2008

    damodar.kamat (6/29/2010)


    Paul,

    In the below command:

    insert into MyLocalTable(name,fullname) select name,fullname from test@SQLTEST

    what is MylocalTable? Is this table to be created on Sql server ?

    MyLocalTable is the local, pre-created, empty SQL...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: ETL

    Shall we understand Data Warehouse core tables are being truncated and fully reloaded in a daily basis?

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Inserting data from Oracle to SQL Server 2008

    rkpuhan (6/9/2010)


    My insert statement is like below.

    insert into test@SQLTEST (name, fullname)

    values ('Oracle', 'Oracle server data');

    Test is the SQL server table name and sqltest is the db link name.

    If I am...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Candidate Key Or Composite Key

    Gopal Rathore (6/25/2010)


    Which is better to have either Numeric Candidate Key or Composite Key in the dependent table to make joins faster to execute say for example I have FormulaId...

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • RE: Partitioning large tables for performance.

    Larry Kruse (6/29/2010)


    Alas! We didn't get the performance improvements we had hoped to see.

    Not a surprise - check my previous post 🙂

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Viewing 15 posts - 1,786 through 1,800 (of 3,060 total)