Viewing 9 posts - 1 through 9 (of 9 total)
What are disadvantage of using VIEW instead of table dbo.ProductsSequences.
The VIEW can return CategoryID and MAX(ProductID)?
July 8, 2009 at 12:19 am
Interesting solution, can you show me where can I find information how to implement 'sequence table'.
July 7, 2009 at 2:16 am
There's a chance that will cause duplicate key errors under heavy load
How can I improve my solution?
July 6, 2009 at 2:09 am
So there is a solution based on trigger INSTEAD OF INSERT:
DROP TABLE Product
GO
CREATE TABLE Product
(
[ProductID] int,
[CategoryID] int,
[Name] ...
July 6, 2009 at 1:34 am
1) About structure of real DB.
Don't think it's a good idea. The sample I've added fully describe the issue that requires solution.
2) About guess of object oriented structure
I do have...
July 5, 2009 at 12:39 pm
I see your point, but the code I wrote is not a real DB structure.
You solution does not suit.
July 5, 2009 at 10:17 am
Ok, can you write a sample how to do that?
July 5, 2009 at 9:31 am
Jeff Moden (10/25/2008)
It would help us give you a better answer quicker if you posted Table A and it's data in a readily "consumable" format. See the link in...
October 26, 2008 at 4:25 am
You have to aggregate, but what you can do is to add a fake column in which you then ignore.
This more or less gets want you want. I don't understand...
October 26, 2008 at 4:06 am
Viewing 9 posts - 1 through 9 (of 9 total)