Forum Replies Created

Viewing 15 posts - 2,206 through 2,220 (of 3,060 total)

  • RE: Design Tables For Business Rules

    Define rules in a table, PK will be like (product, sequence) - you can include a row for "total" then enforce/implement via instead of triggers.

    _____________________________________
    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: Contraint on effective dates --Help Please

    May be this is a job for INSTEAD OF TRIGGER, init?

    _____________________________________
    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: Roolback not functioning in OPENQUERY Linked Server call to ORACLE Stored Procedure

    Please do not cross post ... use "BEGIN DISTRIBUTED TRANSACTION" and check BOL for further details.

    _____________________________________
    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: Rollback over linked server not working

    This is a distributed transaction so you have to initiate it by issuing "BEGIN DISTRIBUTED TRANSACTION" ... check BOL for details 😉

    _____________________________________
    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 using multiple tables an advisable solution to dealing with user defined fields?

    I've seen pretty similar business specifications.

    Somebody asked to implement some "flexible field" alike functionality - "flexible fields" are an Oracle Applications feature.

    Here is how it works.

    You design your database in...

    _____________________________________
    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 select from the output from a system stored procedure

    1- Create a temp table with columns matching the output of the desired storedproc.

    2- insert into #YourTempTable exec sp_YourStoredProc

    3- select from #YourTempTable as it fits you.

    _____________________________________
    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: Best Free database designer?

    checkitoutcouk (8/25/2009)


    What's the best free database designer?

    That would be ... your brain or better saying a properly trained brain 😉

    checkitoutcouk (8/25/2009)


    Is it worth paying for software?

    :w00t: If you 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: Oracle to Oracle ETL PL/SQL vs SSIS

    baal32 (3/21/2009)


    Oracle to Oracle (10gR2) ETL

    Oracle to Oracle?

    Why would you want to add overhead?

    Use Oracle! 😉

    _____________________________________
    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: Anyone worked in SQL 6.0?

    Yes I did indeed. I also worked with 4.2 which was a source copy of Sybase.

    I would say 6.0 was the first version with a Microsoft flavor on 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: Do Joins Require a Foreign Key in Child Table?

    Is this a requirement

    No.

    or just a best practice?

    No.

    Can a Parent be joined to a Child table on a field that has not been defined as a Foreign Key?

    Yes.

    Having said 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: Normalization

    sjsubscribe (1/20/2010)


    Certainly the current practice is mixed at best or else no DBMS would allow null values as valid entries in a field. That's what the relational theory purists wants....

    _____________________________________
    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: Transform date

    Not totally sure if I got your question right but statement below will certainly point you in the right direction, log into sqlplus and execute...

    select to_char(sysdate, 'mm/dd/yyyy hh24:mi:ss') from dual;

    _____________________________________
    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: Foreign Key to a Foreign Key

    dbarr (1/20/2010)


    At what point are there performance concerns with really large tables (# of columns) and a good many indexes (to avoid scans on popular criteria fields)?

    It all depends 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: Foreign Key to a Foreign Key

    David Portas (1/20/2010)Of course I agree. However in a scenario where the domain model does call for a 1-1 relationship then you cannot automatically assume that the "best" implementation 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: Foreign Key to a Foreign Key

    David Portas (1/20/2010)


    So your only answer to my question is to tell me that I'm not asking the right question. Right...

    No David, it's not the questions, it is 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.

Viewing 15 posts - 2,206 through 2,220 (of 3,060 total)