Viewing 15 posts - 9,631 through 9,645 (of 18,923 total)
Please do NOT cross-post. WE monitor all the boards all the time.
Please continue the discussion on this board : http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=324&messageid=384251
July 23, 2007 at 12:14 pm
A foreign key constraint cannot be applied if the Parent table does NOT have a unique constraint of any kind. By removing the PK, you violate that rule.
Try this :...
July 23, 2007 at 12:12 pm
Archive the inactive rows somewhere else. Add a check constraint that Active must equal 1 and run that new constraint with check.
Also you can post the exec plan of that...
July 23, 2007 at 9:35 am
. Thos error message are misleading sometimes
.
July 23, 2007 at 9:32 am
You already have the right syntax for it.
July 23, 2007 at 8:38 am
The view will still have to scan the table. Indexed view may be an option. But this actually creates a second table. I think I'd go with with separating the...
July 23, 2007 at 8:37 am
Hmm, what are you getting exactly, and what are you expecting to get?
July 22, 2007 at 2:29 pm
I'm always curious for these things... which one is the fastest??
July 22, 2007 at 4:48 am
You got me on my curious side Sergiy, what is that other route you are talking about?
July 21, 2007 at 6:49 pm
Since when is there a bad way to do something that works in sql server???
Granted that profiler seems like the best choice here
.
July 21, 2007 at 4:32 pm
This seems like an Orders / OrdersDetails schema.
Based on that assumption you need to do something like this :
SELECT O.ID, ISNULL(Dtd.SPrice, 0) AS SPrice FROM dbo.Orders O LEFT OUTER...
July 21, 2007 at 1:10 pm
Let me put it this way. I've seen this done before using sql server. But the guy pretty much wrote a lite version of Excel. So I'd try to find...
July 21, 2007 at 1:05 pm
I'm not laughing at anyone... except at one comment Jeff made a few days (or weeks) ago.
July 21, 2007 at 1:04 pm
Who needs that crap... wasn't it you that proposed a fully xmled Entity-value system? No need for all those table things anymore
.
July 21, 2007 at 10:07 am
Viewing 15 posts - 9,631 through 9,645 (of 18,923 total)