Forum Replies Created

Viewing 15 posts - 21,346 through 21,360 (of 22,184 total)

  • RE: OPENXML

    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')

  • RE: Different date format in different tables.

    [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...

  • RE: Performance Tuning and Database Tuning Advisor SQL 2005

    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...

  • RE: Different date format in different tables.

    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,...

  • RE: SQL Server Management Studio - Standard Reports

    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...

  • RE: Clustered index on identity column in large tables

    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...

  • RE: Jobs Portal Database Design

    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...

  • RE: Can I install 2008 in same box running 2000, 2005 ?

    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...

  • RE: ATTACHING DATABASE

    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...

  • RE: What Would You Do?

    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...

  • RE: SQL Server 2005 & Team Foundation Server

    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,...

  • RE: LIghter fare - Doh! Querys

    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...

  • RE: Help on UDF

    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...

  • RE: LIghter fare - Doh! Querys

    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...

  • RE: LIghter fare - Doh! Querys

    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...

Viewing 15 posts - 21,346 through 21,360 (of 22,184 total)