Forum Replies Created

Viewing 15 posts - 1,141 through 1,155 (of 3,060 total)

  • RE: Foreign key question

    Jamesyoung79 (3/8/2011)


    I am a newbie when it comes to SQL. I am using Microsoft's SQL server 2008 r2. I'm not the greatest with the SQL scripting, funny enough 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: How to de-partition a table?

    SQL ORACLE (3/7/2011)


    Do you have ideas how to de-partition a table?

    On the top of my head...

    1- Get partitioned table down to just one partition by merging partitions

    2- Once you have...

    _____________________________________
    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: Total of a column

    vikingmanm (3/5/2011)


    I am using SQL Compact.

    When trying to total a column of numbers, does the data type have to be numeric. Right now it is data type money because they...

    _____________________________________
    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: Weird error when selecting from view.

    UMG Developer (3/7/2011)


    OK, I figured it out, and it wasn't at all what I expected. Someone had changed the compatibility level on the Libraries DB to 100, while the EOracle...

    _____________________________________
    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 Optimise "SELECT * FROM" Queries

    AndrewJacksonZA (3/4/2011)


    How do you guys deal with optimising performance when "SELECT * FROM" is involved?

    A "select *" is rarely a good idea but I understand you do not have access...

    _____________________________________
    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: DB refresh

    ...also, you may want to somehow "hide" personal and confidential information you do not want to be available to testers and developers like SSN, CC#, salaries, phone numbers, addresses, etc.

    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: Usage of ad-hoc SQL Express instances within an organzation

    marklegosz (2/28/2011)


    ...how they are handling the management of them. The business & the rest of IT Ops says they don't care that they are express & unmanaged, but they are...

    _____________________________________
    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: table not using index

    Sridhar-137443 (2/28/2011)


    Hi,

    we have a table named "Employees". It has fields company, empno, active and some additional fields like (lastname, firstname, middle name, address etc). I created an index on company,...

    _____________________________________
    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: ERD Software Needed

    pietlinden (2/27/2011)


    Where do I purchase this "Brain Assisted Pen"? Does it have to be assisted by my brain? (What good is that?!)

    Go to office depot, office max or...

    _____________________________________
    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: Recover damaged database

    GilaMonster (2/26/2011)


    PaulB-TheOneAndOnly (2/26/2011)


    if SS2K5 then take a look at "alter database for attach_rebuild_log"

    if SS2K then take a look at "dbcc rebuild_log"

    attach_rebuild_log only works if the DB was cleanly shut down....

    _____________________________________
    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: Recover damaged database

    if SS2K5 then take a look at "alter database for attach_rebuild_log"

    if SS2K then take a look at "dbcc rebuild_log"

    _____________________________________
    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: ERD Software Needed

    SQL_Student (2/26/2011)


    Any suggestions on a recommended open source software that is fast, simple, and thorough in helping me design a ERD for my database? Thank you

    Brain Assisted Pen and Notepad...

    _____________________________________
    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: Data Model for new Financial Product Reproting in data Warehouse

    eseosaoregie (2/22/2011)


    I also have another question. Once the source tables are loaded into the our staging area. I will probably have to use lookups to transform some of the data....

    _____________________________________
    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: Entities and relationships

    I think you have to read again the specs... specially the part that clearly reads "You are to undertake this assignment individually, although you may discuss ideas with your fellow...

    _____________________________________
    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: Does a primary key need to be unique?

    Steve.hitch (2/25/2011)


    I worked on the IBM AS/400 system for years. When I created a file and built key fields, the default was unique keys. You could override that and say...

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