Viewing 15 posts - 21,346 through 21,360 (of 22,184 total)
It's just up one more level
SELECT *
FROM OPENXML (@idoc, '/ROOT/Customer/Order/OrderDetail',2)
WITH (OrderID int '../@OrderID',
CustomerID varchar(10) '../@CustomerID',
OrderDate datetime '../@OrderDate',
ProdID int '@ProductID',
Qty int '@Quantity',
ContactName nvarchar(50) '../../@ContactName')
December 19, 2007 at 7:31 am
[beating head against desk] must read complete post, must read complete post...
Anyway, Jeff's 100% accurate. I didn't see that "must be stored" statement. You can't, don't, won't, shouldn't store the...
December 19, 2007 at 6:58 am
I agree with Colin, Sven and the GURU on this. Tuning is not simply a matter of running the DTA and taking its advice as gospel. Unfortunately, if you get...
December 19, 2007 at 6:00 am
SQL Server can take the last two formats you supplied and automagically convert them into date time, no issues. The first string you supplied, the more European approach of day/month/year,...
December 19, 2007 at 5:46 am
I think there's a way to see the query run by the report, but I can't find it right now. The fallback position it to put profiler on and then...
December 19, 2007 at 5:35 am
You really should have a clustered index, but since you get only one, you need to make sure you put it in the right place. The PK is clustered by...
December 19, 2007 at 5:30 am
One thing we've found that is a great advantage in 2005 when working with different functionality within a single app, is to take advantage of schemas. In your case, you...
December 19, 2007 at 5:26 am
I've done exactly that type of installation.
Yes, it causes problems. The 2008 install does something to the 2005 install that causes errors when you go to load the GUI for...
December 14, 2007 at 11:14 am
Yelling (all caps) is hardly necessary.
This link is to the general "How To" topic in Books Online.
This link is to the RESTORE topic in BOL.
Yelling at the people trying to...
December 14, 2007 at 6:25 am
I agree with Andy. I need the request written down in some fashion. If there is a policy in place and this violates it, I'm going to fall back on...
December 14, 2007 at 6:06 am
Honestly, contact Microsoft because your licensing scheme is not going to be the same as mine. We have an enterprise license for TFS that allows us pretty much unlimited use,...
December 13, 2007 at 1:07 pm
The order by is a serious puzzler. If the performance was OK, I'd probably ignore it with a shrug, but if performance was in any way an issue, it sure...
December 13, 2007 at 8:38 am
The error is explaining the problem. The subquery is being used as a column, that means it has to return a single row because you can't have two or more...
December 13, 2007 at 8:34 am
The really beautiful thing about it was that the SET @VAR = 0 was directly butt up against the IF statement. It wasn't like there was 15 pages of intervening...
December 13, 2007 at 8:27 am
We found one in production earlier this year that looked a bit like this:
DECLARE @var int
SET @var = 0
IF @var > 0
BEGIN
...do some work
END
return 0
And they had honestly spent a...
December 13, 2007 at 6:17 am
Viewing 15 posts - 21,346 through 21,360 (of 22,184 total)