Forum Replies Created

Viewing 15 posts - 301 through 315 (of 522 total)

  • RE: Boot Page

    I think the answer is incomplete, the log file also contains the boot page:

    One of the system pages stored in both the primary data file and the first log file...

    Best Regards,

    Chris Büttner

  • RE: SQL Server 2005

    I think the QOD is just fine. The default for these features is disabled - whether they are installed or not is a different question. Just my opinion.

    Best Regards,

    Chris Büttner

  • RE: Question of the Day for 15 Nov 2006

    I am not sure whether I agree with the solution to this QOD.

    I think it actually might make sense to rebuild the indexes, especially since the table is heavily used.

    Imagine...

    Best Regards,

    Chris Büttner

  • RE: Question of the Day for 16 Sep 2007

    I would also be interested in a resolution of this...

    By BOL has the Version where the h switch is required.

    Thanks!

    Best Regards,

    Chris Büttner

  • RE: SQL 2000 db, queries running slow in SQL 2005

    Did you leave your database in 2k compatibility mode?

    If yes, try switching to 90.

    Best Regards,

    Chris Büttner

  • RE: Any SQL gurus / n00bs that are closet musicians?

    I am singing in the bathroom if that counts 😀

    Besides that had some years of Classical Guitar training and still have a Virus at home http://www.access-music.de/products.php4?product=virusclassic. But haven't had much...

    Best Regards,

    Chris Büttner

  • RE: Lasr Order placed or cust acct used more than 9mths ago

    I dont have the exact requirements, but if you need only the customers you should be able to do something like this:

    SELECT CUS.CustomerID

    FROM T_CustHeader CUS

    WHERE NOT EXISTS(

    ...

    Best Regards,

    Chris Büttner

  • RE: User input for batch files running a stored procedure

    Hi,

    you need to delimit your parameters with the percent sign.

    Example:

    : Run on dev

    @ECHO OFF

    set /p dbname=Enter dbname

    osql -E -dmaster -Q "EXEC sp_helpdb @dbname = '%dbname%'"

    PAUSE

    Edit: Provided better example

    Best Regards,

    Chris Büttner

  • RE: Exponent Engima

    What a nasty question... 😛

    Is this standard SQL behaviour or just MS style?

    Best Regards,

    Chris Büttner

  • RE: eliminating duplicates

    Glad i could help 🙂

    Best Regards,

    Chris Büttner

  • RE: eliminating duplicates

    Thanks RBarryYoung for this 123 post long excursion into "Effects of unclear requirements in Software Engineering"

    Your fantastic article that went live by now made me too curious and I have...

    Best Regards,

    Chris Büttner

  • RE: Just For Fun: An Impossible Delete

    Awesome article.

    And awesome technique.

    And although "prohibited" in the article (a "Loop" is used), I cannot withstand to post another possible solution to this type of task:

    [font="Courier New"]DECLARE @Current nvarchar(4000); --...

    Best Regards,

    Chris Büttner

  • RE: TOP and TABLESAMPLE

    Finally found the source of confusion:

    Which of the following statements is guaranteed to return 1000 rows

    instead of

    Which of the following statements are guaranteed to return 1000 rows

    But the answer possibilities...

    Best Regards,

    Chris Büttner

  • RE: Updating through cursors

    Hi Hugo,

    This is a misunderstanding. What I meant to say was that when you open a static cursor, you have a point in time copy of the data as it...

    Best Regards,

    Chris Büttner

  • RE: Updating through cursors

    I find this question a little confusing. It should be clearly stated in the question that you do not need to see updates made to the underlying data. Because that...

    Best Regards,

    Chris Büttner

Viewing 15 posts - 301 through 315 (of 522 total)