Viewing 15 posts - 7,396 through 7,410 (of 7,636 total)
You know, now that I think about it I realize: this is a classic de-normalization exercise.
March 21, 2008 at 12:50 pm
You would have to keep it within the Dynamic Sql batch, as per ksullivan's example.
March 21, 2008 at 12:34 pm
Utsab: I think that you should just tell the developer that they need a Uniqueidentifier/NEWID().
March 21, 2008 at 12:00 pm
Jeff Moden (3/21/2008)
March 21, 2008 at 11:58 am
Another thought: You will want this Friends table to contain copies of the information that your site will need to display their friends list. So it should look...
March 21, 2008 at 11:45 am
wojo (3/21/2008)
i tried creating clustered index and it complains that it cannot be done because it contains UNION, any suggestions?
CREATE UNIQUE CLUSTERED INDEX IDX_Friends ON dbo.friends (user_id, friend_id)
OK, my bad....
March 21, 2008 at 11:35 am
GSquared (3/21/2008)
If the Parent/Child tags are meant to be significant, then storing two rows kind of defeats that purpose.
Easily remedied, G2, just add an attribute column to indicate the direction...
March 21, 2008 at 11:26 am
wojo (3/21/2008)
March 21, 2008 at 11:10 am
This is an ages-old question about any system or service, and although the details are specific to each individual type of system or service, the individual causes of service failures...
March 21, 2008 at 11:00 am
As I recall, you want just one hierarchical date dimension which is to be shared by all of the date-based fact columns.
March 21, 2008 at 10:26 am
The parameter table trick works as you described it, so long as there is no danger that the receivers of the parameters will get confused about which set of parameters...
March 21, 2008 at 10:18 am
How do you know that it "failed"? Maybe it is still running or is hung? Or maybe it it exited without an error, but not when or where...
March 21, 2008 at 10:08 am
Mark Horninger (3/21/2008)
Probably not access rights if you can connect some of the time.
Good point, I missed the "frequently" in the OP.
In that case, it is almost certainly...
March 21, 2008 at 10:01 am
johnsql (3/21/2008)
March 21, 2008 at 9:54 am
Depends on your priorities and concerns. If performance is your priority, then probably dual entries are the way to go. If disk space is your top concern, then...
March 20, 2008 at 9:15 pm
Viewing 15 posts - 7,396 through 7,410 (of 7,636 total)