Forum Replies Created

Viewing 9 posts - 16 through 24 (of 24 total)

  • RE: Data Conversion Error

    Next piece of code will not give you the rows, but it contains a hint on what to use to find those rows 😉

    WITH ListValues AS ( SELECT N'123' AS...

    "Walking on water and developing software from a specification are easy if both are frozen." -- Edward V. Berard, "Life-Cycle Approaches"

  • RE: Alter numeric(12,6) to numeric(19,4) - is it metadata only or is it recreate table?

    When using ALTER-statements the table will not be re-created.

    You will however receive an error when the ALTER-statement will not work.

    For instance: if the data already in that column won't fit...

    "Walking on water and developing software from a specification are easy if both are frozen." -- Edward V. Berard, "Life-Cycle Approaches"

  • RE: Check Data While Inserting

    You only show the trigger-code, but there is more code involved.

    In your opening-post you mentioned that you can insert multiple rows at once.

    How is that INSERT-part coded?

    But I can tell...

    "Walking on water and developing software from a specification are easy if both are frozen." -- Edward V. Berard, "Life-Cycle Approaches"

  • RE: CONTAINED DATABASE OR NOT ...

    Yet another update on this issue:

    connect.microsoft.com

    Posted by Microsoft on 3/5/2013 at 11:50 AM

    Hello Marc, We have now fixed this bug in the next major version of SQL Server. Thanks for...

    "Walking on water and developing software from a specification are easy if both are frozen." -- Edward V. Berard, "Life-Cycle Approaches"

  • RE: CONTAINED DATABASE OR NOT ...

    connect.microsoft.com

    Thanks for reporting the issue. The problem is due to the $action column metadata which is incompatible with the literal collation (string values 'INSERT' or 'DELETE'). This should work without...

    "Walking on water and developing software from a specification are easy if both are frozen." -- Edward V. Berard, "Life-Cycle Approaches"

  • RE: CONTAINED DATABASE OR NOT ...

    A further update ...

    I had a talk with Bob Beachemin about this issue ( and a few others stuff as well ).

    He had a look at it and his conclusions...

    "Walking on water and developing software from a specification are easy if both are frozen." -- Edward V. Berard, "Life-Cycle Approaches"

  • RE: CONTAINED DATABASE OR NOT ...

    opc.three (11/13/2012)


    Here is one possible explanation as to what is going on:

    In the contained database scenario $action is actually collated using the catalog default, i.e. Latin1_General_100_CI_AS_WS_KS_SC, per the table under...

    "Walking on water and developing software from a specification are easy if both are frozen." -- Edward V. Berard, "Life-Cycle Approaches"

  • RE: CONTAINED DATABASE OR NOT ...

    Really appreciate you looking in/at this issue.

    The fact that you can reproduce the error by adding the COLLATE-clause is "as designed" in SQL Server.

    Forget the SQL 2008 track for now.

    The...

    "Walking on water and developing software from a specification are easy if both are frozen." -- Edward V. Berard, "Life-Cycle Approaches"

  • RE: CONTAINED DATABASE OR NOT ...

    D.Post (11/13/2012)


    Hi,

    The only thing I can think of is replacing:

    ON( Target.name = Source.name )

    with

    ON( Target.name COLLATE Latin1_General_CI_AS = Source.name COLLATE Latin1_General_CI_AS )

    Hope this helps.

    Yes, and no 😉

    First: I'm aware...

    "Walking on water and developing software from a specification are easy if both are frozen." -- Edward V. Berard, "Life-Cycle Approaches"

Viewing 9 posts - 16 through 24 (of 24 total)