Forum Replies Created

Viewing 15 posts - 3,166 through 3,180 (of 3,366 total)

  • RE: Setting up relationships correctly

    EDIT

    That is not what I am saying because we are not talking about foreign key but DRI you can have a foreign key that is not DRI but to be...

    Kind regards,
    Gift Peddie

  • RE: Setting up relationships correctly

    Let me correct that the columns are renamed in the second table which was not really two identical columns.  Sorry about that.

    Kind regards,

    Gift Peddie

    Kind regards,
    Gift Peddie

  • RE: Setting up relationships correctly

    You can but you cannot use them in DRI because the columns participating in DRI is keeping track of each other in delete and update so your current table will...

    Kind regards,
    Gift Peddie

  • RE: Setting up relationships correctly

    To get DRI it must still be CompanyID and not CompanyID1 and CompanyID2 so just do ANSI SQL ALTER Table and change the column names to match because in DRI...

    Kind regards,
    Gift Peddie

  • RE: Setting up relationships correctly

    EDIT

    Let me clear some confusion for you IDENTITY is a property and I could not see CompanyID or CompanyName in table two so your DRI(declarative referential integrity) is invalid.  Some of...

    Kind regards,
    Gift Peddie

  • RE: Decimal/float/etc.

    That is correct Numeric and Decimal is like Real and Float.

     

    Kind regards,

    Gift Peddie

    Kind regards,
    Gift Peddie

  • RE: Decimal/float/etc.

    The first time I saw Money's problems was 1999-2000 SQL Server 7.0 with Coldfusion front end Money was averaging 96-98 cents on the dollar, and the person was given less...

    Kind regards,
    Gift Peddie

  • RE: Decimal/float/etc.

    That is not correct you have to use Float if your application need math functions in most RDBMS(relational database management systems) MySQL included and not just for binary math. Let...

    Kind regards,
    Gift Peddie

  • RE: Decimal/float/etc.

    Float is usually used for money but converted to Decimal or Numeric to persist because in SQL Server you can set precision and scale in Decimal or Numeric and not...

    Kind regards,
    Gift Peddie

  • RE: Changing Careers - Software Developer to Database Developer

    That is correct but Joe Celko will make you understand it almost easy and Peter Gulutzan is also readable but Chris Date is very dry but very eye opening of the...

    Kind regards,
    Gift Peddie

  • RE: Changing Careers - Software Developer to Database Developer

    Let me use my current project as an example, some of my reports uses complex time components the reason we use Oracle on the Algebra end of the project because...

    Kind regards,
    Gift Peddie

  • RE: Views or Sub Queries?

    Views and Subqueries cannot be really compared, Views are compared to stored procs and Subqueries are compared to JOINs or UNION.  JOINs are the same in performance to Subqueries and...

    Kind regards,
    Gift Peddie

  • RE: Error in Timestamp to Datetime conversion in Primary key

    That is correct SQL Server TimeStamp is a derived data type SQL Server uses internally so you need Java datetime to do conversion.  Hope this helps.

    Kind regards,

    Gift Peddie

    Kind regards,
    Gift Peddie

  • RE: Changing Careers - Software Developer to Database Developer

     I take both DBA and Programmer contracts because I do data as ANSI SQL and relational Algebra.  I write ANSI SQL, Java in the...

    Kind regards,
    Gift Peddie

  • RE: using xp_cmdshell

    Nope still exist albeit disabled by default.  And finally the account requirement is documented. 

    http://msdn2.microsoft.com/en-us/library/ms175046.aspx

    Kind regards,

    Gift Peddie

    Kind regards,
    Gift Peddie

Viewing 15 posts - 3,166 through 3,180 (of 3,366 total)