Viewing 15 posts - 1 through 15 (of 31 total)
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...
May 22, 2011 at 6:04 pm
Thanks, mate
I will work on that.
Cheers
May 19, 2011 at 10:24 pm
What would the 'instead of update' and 'instead of delete' trigger look like? Insert is pretty straight forward...
May 19, 2011 at 9:35 pm
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...
May 19, 2011 at 9:25 pm
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...
May 19, 2011 at 7:40 pm
Sounds good. Pardon my ignorance - How do I do that?
December 13, 2010 at 10:27 pm
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...
November 24, 2010 at 12:00 pm
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....
March 17, 2009 at 9:09 am
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....
March 17, 2009 at 6:55 am
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...
March 17, 2009 at 4:38 am
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...
January 9, 2009 at 2:21 am
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...
January 8, 2009 at 7:27 am
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...
January 8, 2009 at 6:53 am
OK, it was a problem with the user rights. I had to choose service account...
November 19, 2008 at 3:58 am
Viewing 15 posts - 1 through 15 (of 31 total)