Forum Replies Created

Viewing 15 posts - 1 through 15 (of 31 total)

  • RE: Reference a view in a foreign key

    Thanks, that is working exquisitely

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

  • RE: Reference a view in a foreign key

    If I do it like that:

    UPDATE p

    SET name = i.name,

    some_other_field = i.some_other_field

    FROM inserted i

    JOIN dbo.productsxy p on i.id = p.id ;

    And include every...

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

  • RE: Reference a view in a foreign key

    Thanks, mate

    I will work on that.

    Cheers

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

  • RE: Reference a view in a foreign key

    What would the 'instead of update' and 'instead of delete' trigger look like? Insert is pretty straight forward...

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

  • RE: Reference a view in a foreign key

    What I mean is that there are tables that reference dbo.products via foreign key at the moment. If I rename the table (using sp_rename), the foreign keys will still point...

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

  • RE: Reference a view in a foreign key

    Thanks for the snippet,

    It's about what I tried when I hit the problem that the existing references to the table dbo.product now have to reference a view in a foreign...

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

  • RE: Logging Query in Manages Stored Procedure

    Sounds good. Pardon my ignorance - How do I do that?

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

  • RE: TRY / EXCEPT on open CURSOR

    Thanks mate,

    It's just that I don't want to spend a lot of time on refactoring that legacy script. Performance is not an issue, neither is reusing it. The most simple...

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

  • RE: Role Playing Dimensions

    Well, that sounds interesting... maybe I have no choice but to restructure my DB. I will follow that thought.

    Thanks!

    ////////EDIT/////////

    There must be another way. I just cannot figure it out....

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

  • RE: Role Playing Dimensions

    mhegde (3/15/2009)


    with TIme dimension directly connected to this fact based on Order creation date and with a role playing time dimension Order Delivery Date.

    Could you describe this more detailed please....

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

  • RE: Role Playing Dimensions

    Thanks pal.

    Thats a pretty straight forward example. But my scenario is the following:

    I have OrderDate and ShippingDate in a fact table. Now I want to display the amount of...

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

  • RE: multiple time dimensions in one cube

    I think the problem lies somewhere else:

    First

    let's take the standard example "Order Time" and "Ship Time". Each of these dimensions basing on the same dimension table. when I added the...

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

  • RE: multiple time dimensions in one cube

    After all I guess it is not possible with server time dimensions, is it?

    I cannot define al relationship between a fact table and a server time dimension, can I?

    Is that...

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

  • RE: multiple time dimensions in one cube

    Thank you!

    But the quest is not quite over yet:

    The BOL exactly describes the steps I did so far but not to the end. After I defined the dimension usages...

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

  • RE: Cannot create a connection to data source when deploying a cube

    OK, it was a problem with the user rights. I had to choose service account...

    --------------------------------------------------------
    [font="Comic Sans MS"]Correct me if I'm wrong[/font]

Viewing 15 posts - 1 through 15 (of 31 total)