Viewing 15 posts - 286 through 300 (of 432 total)
RBarryYoung (2/28/2010)
This online article from the Microsoft documentation Books Online (BOL), explains it better than I ever could: http://msdn.microsoft.com/en-us/library/ms191300(SQL.90).aspx
Unfortunately the sample code given in that link is a truly bad...
February 28, 2010 at 11:55 am
I suggest you do not use the UPDATE join in SQL Server 2008 because it is effectively superseded by the MERGE statement. Always use MERGE instead unless you need UPDATE...
February 28, 2010 at 11:43 am
handkot (2/21/2010)
first step - we try to update record
secod step - if no record have been updated then we insert record
update Table
set field1 = @field
where field2 = @key
if...
February 21, 2010 at 3:04 pm
Victor Shahar (2/16/2010)
As you know, primary keys should not be changed with other value inside...
There is nothing inherently wrong with updating a key value. Maybe it's a bug for your...
February 19, 2010 at 2:33 pm
paul.davidson.uk (2/16/2010)
February 17, 2010 at 4:32 pm
david_wendelken (2/17/2010)
February 17, 2010 at 2:07 pm
peterzeke (2/17/2010)
David -- what would you recommend? I'm not attempting to swallow the Kimball pill blindly; I'm merely taking a moment to understand how this technique actually works.
In general let...
February 17, 2010 at 8:17 am
Just to set the record straight, to the best of my knowledge Chris Date never edited or had control of content at DBDEBUNK. The article and quotation posted here is...
February 17, 2010 at 12:32 am
RBarryYoung (2/16/2010)
February 16, 2010 at 9:12 pm
RBarryYoung (2/16/2010)
February 16, 2010 at 7:26 pm
RBarryYoung (2/16/2010)
though SQL was based on Relational Theory, they refused to fully adopt the things that Codd wanted them too, which was the original source of the many decades old...
February 16, 2010 at 6:37 pm
Then please explain why are you putting yourself through this. Why do you feel compelled to limit yourself to a fatuous design pattern you once read in a book by...
February 16, 2010 at 4:04 pm
CREATE UNIQUE CLUSTERED INDEX indexname ON v1 (col1, col2, col3);
February 15, 2010 at 10:05 am
mrinal.jaiswal (2/12/2010)
I want to create an Indexed view on my database. But the problem is the result set my query returns does not have any unique key, means the result...
February 14, 2010 at 5:24 am
Grant Fritchey (2/10/2010)
Without the trigger and in the arc design, it's possible to have a comment be designated for more than one object
Not if you use a compound foreign key...
February 10, 2010 at 5:16 am
Viewing 15 posts - 286 through 300 (of 432 total)