Forum Replies Created

Viewing 15 posts - 421 through 435 (of 3,060 total)

  • RE: Explicity Name Primary Keys ERwin

    Glad to help.

    It can be done, full process is described here http://www.sandhill.co.uk/erwin/ERwinIndexNameRule.asp?dm_i=6J9,CSSW,RPMQO,10I86,1

    _____________________________________
    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: Modeling Design / Approach

    gyoung 93471 (3/21/2012)


    Given that I don't see significant database operations on buildings and floors, I wouldn't isolate them.

    Therefore, two tables work nicely and cleanly.

    1) create a table for rooms (room_id,...

    _____________________________________
    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: Explicity Name Primary Keys ERwin

    Welsh Corgi (3/20/2012)


    can't you set up a rule to name the Primary Key?

    Yes you can... check here http://erwin.com/uploads/tips_techniques/Using_Naming_Standards.pdf

    _____________________________________
    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 much normalization is too much?

    winston Smith (3/21/2012)


    Technically you can normalize the crap out of any entity model. this means adding more tables, primary/foreign key links etc.

    And although you will have a very well normalized...

    _____________________________________
    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: Parallel DB availability

    Two questions:

    1- How big is your SQL Server database?

    2- Do you need near-real-time extracts to DB2 or a daily snapshot would suffice?

    Depending on answers I would consider either restoring a...

    _____________________________________
    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: sql sum

    shanish (3/19/2012)


    thanks Pablo (Paul) Berzukov, for ur response

    of course am doing, I need some idea, how to do that,thats wat askin here

    Okay... for starters, please show us how 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: sql sum

    shanish (3/19/2012)


    Hi everybody, I have a doubt here,

    I have a table contains the columns StudentId,SubjectId,ComponentId,Marks,PartNo

    I have a record for a student,

    1,1,1,40,1 // here he scored 40 in part...

    _____________________________________
    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: default value for foreign key column

    weston_086 (3/17/2012)


    so then can i insert max value of that column instead of default -1 in place of null values.bcz my manager does want null values in foreign key...

    _____________________________________
    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: Archiving Data

    Anamika (3/15/2012)


    that can be done in a stored procedure. but how about doing the same in SSIS?

    i expect this to be done using for each loop and inside that...

    _____________________________________
    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: Linked Server to Oracle from SQL 2008 R2

    dgossdba (3/15/2012)


    Correct, I have read that it is a problem with the Microsoft OLEDB version of the driver. However, I'm using the Oracle Client version of the provider on...

    _____________________________________
    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: Archiving Data

    One solution would be to load: Database_name, Table_name and Column_name into a cursor then loop the cursor and process each table as needed.

    _____________________________________
    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: Configure ODS using Changed Data Capture

    If SAP is running on SS2K8 then you may be able to rely on the SS2K8 native CDC feature.

    _____________________________________
    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: Linked Server to Oracle from SQL 2008 R2

    dgossdba (3/14/2012)


    Yes,

    We can see what query is passed to the server when looking at the session that is created by MSSQL. If we run the query with the 4...

    _____________________________________
    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: Missing key

    Koen Verbeeck (3/15/2012)


    It seems there are 2 correct answers :w00t:

    Finally! I knew quantum mechanics would sooner or later apply to our trade 😀

    _____________________________________
    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: Design Question, Dictionary vs Many Fields

    Jayanth_Kurup (3/12/2012)


    ...the current setup leads to too many joins can cause issues if th data in these table are highly transactional

    Not necessarily. It all depends on having a proper indexing...

    _____________________________________
    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 - 421 through 435 (of 3,060 total)