Forum Replies Created

Viewing 15 posts - 1,876 through 1,890 (of 3,060 total)

  • RE: How to change collation of msdb?

    tomiboy59 (6/9/2010)


    Well I am working on replicating from an Oracle database to my SQL Server database.

    That's a very different scenario, isn't it? 😀

    Firstly ... ask you Oracle DBA what's the...

    _____________________________________
    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: How to change collation of msdb?

    tomiboy59 (6/9/2010)


    Well, I am trying to set up replication, but I get collation errors.

    Chances are there is a conflic in between replication source and replication target database collation.

    If this...

    _____________________________________
    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: A Design Question - To Use an Identity column or not

    meichner (6/7/2010)We are saying that its is better to combine these 1:1 relationships into one table even though in the vast majority of rows, these extra fields will be set...

    _____________________________________
    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: Slow query excution in server 2008 as compared to SQL server 2005

    firstly... please gather fresh performance stats on SS2K8 affected objects, then try again.

    secondly... if issue persists please trace both SS2K5 and SS2K8 versions of the query.

    _____________________________________
    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: Error logging table?

    Do you mean... application side errors?

    That's a good idea and some of the better designed apps I've bumped into include such a centralized log resource. Be aware this is...

    _____________________________________
    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: Text Book advice - DB Design

    allin1 (6/5/2010)


    Here are my answers for your questions

    1.OLTP (Receving Data dumps, CSVs, Excels, Text files organizing them into DB i.e finally converting them into one standard format and adding it...

    _____________________________________
    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: updating 1,000 records takes 5-6 minutes I would like to decrease the time that takes

    Ion Freeman (6/1/2010)


    itsmeman (1/5/2010)


    what advice would you all have to not using cursors if you

    have sensitive data that needs to be checked to maintain its integrity?

    I believe...

    _____________________________________
    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: Text Book advice - DB Design

    I gather you have little exposure to data modeling, if this is the case a free resource to get a picture of it can be found in http://www.agiledata.org/essays/dataModeling101.html

    Just out of...

    _____________________________________
    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: Duplicate Record

    or... fix the data.

    1st figure it out which PKs are duplicate...

    select * from(

    select my_primary_key_column, count(*) as headcount

    from my_table

    group by my_primary_key_column

    )

    where headcount > 1

    2nd...

    _____________________________________
    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: A Design Question - To Use an Identity column or not

    meichner (6/5/2010)


    I had been told that all tables should use an identity key. I feel that when someone tells you that you should always do something, that they are usually...

    _____________________________________
    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: After Upgrade to SQL 2008 from 2005, Query runs slowly with different execution plan

    sgalbra (6/4/2010)


    The execution plan in 2008 did mention a missing index, and after building that new index my timing problem was solved. It didn't change the execution plan.

    Shall I...

    _____________________________________
    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: Primary Keys and FKeys

    lmu92 (6/4/2010)


    To add an "it depends" opinion:

    I've read that there are cases when a PK-FK relation will help the query analyzer to come up with a more efficient plan. No...

    _____________________________________
    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: A Design Question - To Use an Identity column or not

    meichner (6/3/2010)


    I was wondering whether or not I should use an identity column or not in the following senerio:

    I have two tables, Sales Order and SalesOrderDisposition. The Sales Order...

    _____________________________________
    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: Oracle to SQL Server 2k5 replication

    There is a documented solution, let me quote: "Beginning with Microsoft SQL Server 2005, you can include Oracle Publishers in your replication topology, starting with Oracle version 9i. "

    If this...

    _____________________________________
    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: PRO*C Precompiler Oracle Equivalent for SQL Server

    You are correct, Pro*C is Oracle specific.

    On the Windows/SQL Server side of the world research ESQL/C - short for "Embedded SQL for C". You can start here... http://technet.microsoft.com/en-us/library/bb463140.aspx

    _____________________________________
    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,876 through 1,890 (of 3,060 total)