Forum Replies Created

Viewing 15 posts - 41,101 through 41,115 (of 49,571 total)

  • RE: What is "query correlation"

    Mahesh Bote (2/11/2009)


    [font="Verdana"]When Inner query is joined with Outer query, it is called co-related query. and the relation is called as query co-relation[/font]

    Only when the inner query contains a reference...

  • RE: Database restore wanings and error messages

    Did you run checkdb again after running the checkusage? It's normal for checkusage not to give errors. It fixes problems.

    Those won't generate errors on SQL 2000. CheckDB on SQL 2000...

  • RE: Additional datafiles for a database

    FelixG (2/11/2009)


    I do know it's mandatory to split out filegroups to optimize the overall performance.

    It's not mandatory. It's only needed when the drive that the data file is on...

  • RE: Table Joins and count(*)

    Change the inner join to LEFT Outer and change the count as follows

    CASE WHEN b.BlogId IS NULL THEN 0 ELSE COUNT(*) END AS CountComments

  • RE: Uniqueidentifier is incompatible with int

    krypto69 (2/11/2009)


    The reason for dynamic sql, the front end has various fields the user may/may not enter and we don't know which they'll send.

    Which is reasonable, but the way you've...

  • RE: Table Joins and count(*)

    The format for aliases is Expression AS Alias, and your subquery is both unnecessary and incomplete. So..

    SELECT title,

    body,

    catid,

    datePublished,

    ...

  • RE: Uniqueidentifier is incompatible with int

    Two questions.

    What's the definition of Logger2?

    Why is this dynamic SQL?

  • RE: Additional datafiles for a database

    george sibbald (2/11/2009)


    Throwing files at user databases seems to becoming very popular, I suspect this might be one of those urban myths..................

    It is. There are articles at the SQLCAT site...

  • RE: Database restore wanings and error messages

    Have you done as the error said and run a checktable (or better yet, a full checkDB)? Please post the errors it returned.

  • RE: CREATE DATABASE FOR ATTACH_REBUILD_LOG

    You do realise that by discarding the logs you are risking the attached database been transactionally inconsistent or even suspect?

  • RE: CREATE DATABASE FOR ATTACH_REBUILD_LOG

    I have to ask, why are you attaching a database without a log?

  • RE: Managing Transaction Logs

    Phil Harbour (2/11/2009)


    This can't be true otherwise how could you rollback an uncommitted transaction which i understand to be a transaction without a closing commit statement in the transaction log?...

  • RE: Additional datafiles for a database

    FelixG (2/11/2009)


    The new server has 8 processors and I would like to have 1 database file per proccessor,

    Why? That recomendation is solely for TempDB because of potential allocation...

  • RE: Managing Transaction Logs

    Not sysdatabases. The view that has the log_reuse_wait_descr column is sys.databases, a SQL 2005 system view.

  • RE: UPDATE question

    Please post table structure, sample data and desired result.

    Thanks

Viewing 15 posts - 41,101 through 41,115 (of 49,571 total)