Forum Replies Created

Viewing 15 posts - 2,086 through 2,100 (of 3,060 total)

  • RE: Table design

    Why not natural keys?

    RefAtbl <===>> RefBtbl

    Columns in RefAtbl... ID; Key = ID

    Columns in RefBtbl... ID,OtherNumber; key = (ID+OtherNumber)

    _____________________________________
    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: Methods for Backing Up Databases / Transaction Logs - SQL 2005

    gratefuldba (4/10/2010)


    Does anyone have an opinion as to the merits and disadvantages of using SQL Server maintenance plans to implement our SQL Server database / transaction log backup strategy ?

    Easiest...

    _____________________________________
    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: Access Last function to SQL Server

    last() returns the last row of a result set - doesn't it?

    A brute force solution would be to select top 1 blah-blah-blah order by blah-blah DESC

    _____________________________________
    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: Heterogenous Database in SQL Server Replication

    For SQL Server varchar() not larger than 4000 bytes Oracle's varchar2() would do the trick.

    For SQL Server varchar() larger than 4000 bytes receiving Oracle column should be a CLOB.

    Since CLOB...

    _____________________________________
    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 do I correctly design a many-to-many relationship in SQL Server?

    info-849042 (4/10/2010)


    how do I implement a many-to-many relationship in SQL Server

    This shold be done at modeling phase independent of the technology of choice therefore you do it as you do...

    _____________________________________
    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 get one month of data no matter what the date is in date column

    datepart() function would do 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: Calling a website...

    You are looking for latence then forget the app layer... just ping 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: Jobs (DTS packages) hangs after Oracle Goes down ...

    I would schedule a blackout window on SQL Server side so to accomodate Oracle side maintenance window.

    _____________________________________
    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: Database Design Involving Validating Information using an Off-Site Sever

    PaulB - Is there an easy way to describe or point me to something (a name, a website) that would talk about the infrastructure that would support this? Would...

    _____________________________________
    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: Database Design Involving Validating Information using an Off-Site Sever

    1- Yes. Depends on infrastructure and design.

    2- No. Yes.

    3- Sure you can do it. Dozens of choices.

    4- Depends on the features you want to have available.

    _____________________________________
    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: keeping two databases in sync on in same DB server

    I agree with NJ-DBA that transactional replication may be the right solution for this scenario.

    The Production-Reporting tandem of databases is a valid strategy - usually a first step in 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: Working but not working ...

    Once you got everything in place do the 1-2 punch test...

    1- ping whatever dns or ip-address you provided for the host in tnsnames entry

    2- after #1 works, tnsping the tnsnames...

    _____________________________________
    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: Deleting the columns from the same database through the script

    Just out of curiosity ... does the business requirements really ask to drop a column that is part of a PK? really? :blink:

    On the same line of thinking... why if...

    _____________________________________
    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 code if not exists(then set identity and then insert

    would you mind in formatting your query properly? pretty please?

    _____________________________________
    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 execute Index?

    chandrasekaran.ganapathy (4/8/2010)Here What is the use of creating Index?

    Allow me to answer you with a question... What is the use of having an index in a book? perhaps...

    _____________________________________
    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 - 2,086 through 2,100 (of 3,060 total)