Forum Replies Created

Viewing 15 posts - 31 through 45 (of 431 total)

  • RE: Business Intelligence Prototyping Tool

    Possibly some people will have a problem with the suggestion of prototyping a BI solution. Agile methods are increasingly what's expected of BI projects. Agile emphasises iterative delivery rather than...

  • RE: Using surrogate keys for

    emiranda 59653 (4/2/2014)


    I'm not too sure how useful they are for ETL unless doing auditing as by their nature, surrogate keys won't exist on source systems, but then again I'm...

  • RE: Using surrogate keys for

    Surrogate keys can be very useful for some ETL operations, especially for updates and deletes on the fact table. They can also be useful to support a partitioning or archiving...

  • RE: order of rows during bulk insert

    awez1411 (3/18/2014)


    its properly work 3 times but at 4 or 5th time when i use bulk insert command all data are successfully inserted into table but it lost the sequence.

    after...

  • RE: create a table with two primary keys.

    azhar.iqbal499 (2/20/2014)


    Actually, when we define primary key on a table, data is stored in the physical order of primary key, We can't have two physical order in a table. This...

  • RE: SCD Type 2 - EffectiveDate

    If there is a foreign key referencing your table then consider whether it's important for the date/time of the referencing row to correspond to the date/time range of your effectivedate....

  • RE: create a table with two primary keys.

    Luis Cazares (2/12/2014)


    That's the difference of unique keys and primary keys. Primary keys will idenitfy a row within a table and they're essentially a preferred unique key. Unique keys will...

  • RE: create a table with two primary keys.

    RonKyle (2/12/2014)


    My favourite example, a table of Marriages with exactly two attributes: Husband and Wife. Both attributes are candidate keys because clearly we don't want to allow the same person...

  • RE: create a table with two primary keys.

    Jeff Moden (1/30/2014)


    By definition and by design and as the others have stated, you cannot have two Primary Keys on a table. If you try to create a second...

  • RE: Restriction on Primary key

    Lowell (12/4/2013)


    Maybe I'm reading your statement wrong, but i read "actually a foreign key can reference columns that aren't key columns at all" as though you are implying you can...

  • RE: Restriction on Primary key

    LutzM (12/4/2013)


    A primary key is indeed a uniquenss constraint. But expanded by the "functionality" to serve as a reference key that can be referred to in other tables.

    That's incorrect. It's...

  • RE: Restriction on Primary key

    LutzM (12/4/2013)


    Why would someone need a primary key for husband and wife? None of the two makes a good primary key, but both should have a unique constraint

    QED. A...

  • RE: Restriction on Primary key

    Lynn Pettis (12/4/2013)


    Your example of marriages is flawed. It would be quite possible to have two couples where the husbands and/or the wives have the same names. If...

  • RE: Restriction on Primary key

    Lynn Pettis (12/4/2013)


    Even in logical data modeling there is a single primary key defined.

    That depends on the methodology, the modelling notation used and the modeller's practice and intention. It also...

  • RE: Restriction on Primary key

    gautham.gn (12/2/2013)


    There is a restriction that we must have only one primary key per table. We can have composite primary key by defining primary key over 2 or more columns....

Viewing 15 posts - 31 through 45 (of 431 total)