Forum Replies Created

Viewing 15 posts - 3,226 through 3,240 (of 6,486 total)

  • RE: update multiple columns

    You mean - something like this?

    update emp

    set empname='Bob Smoot',

    EmpTitle='Emperor',

    Emprole='Master Bottle Washer inspector'

    where

    ...

  • RE: DB transfer from MS-access to SQL Server 2005

    Or - you could skip SSIS, and use a customized tool to do just what you're after: the SQL Server Migration Assistant for Access. It should transfer quite a...

  • RE: TOP vs ROW_NUMBER

    Grant Fritchey (5/21/2008)


    Yeah. I'm actually working on comparing MAX, TOP and ROW_NUMBER. I was hoping to outline which might be better when.

    If you want to see some REALLY interesting things...

  • RE: TOP vs ROW_NUMBER

    Grant Fritchey (5/21/2008)


    Ah, partition by... crud. I was bouncing all around it and I just couldn't figure it out. That looks great. I tested it against the single row and...

  • RE: TOP vs ROW_NUMBER

    hmm... never mind earlier comment. I think this one's a little better anyway.

    SELECT d.[DocumentName],

    d.[DocumentId],

    ...

  • RE: TOP vs ROW_NUMBER

    Hmm...Trying to work this one out.

    The first one (in the CROSS APPLY), returns the Highest version of a given document in the VERSION TABLE.

    The second one seems to be taking...

  • RE: Table Fragmentation

    Keep in mind that your choice of clustered index will have a LOT of bearing on how quickly a table will fragment.

    Remember that the clustered index dictates the...

  • RE: ISNULL

    The use of functions against column values in the WHERE clause tends to force the optimizer to have to use index SCANS instead of SEEKS, since the function has to...

  • RE: moving from sql 2000 to sql 2005 manualy

    GSquared (5/21/2008)


    The reason for this is that, in a Left Outer Join, any criteria on the left table need to be in the Join clause, or they make it into...

  • RE: Hourly Transaction Log backup vs daily Log truncate + fileshrink

    #2 is a bad idea all around.

    Shrinking a file that's going to grow again only encourage fragmentation. If you just leave it alone - it will grow to the...

  • RE: No Logging

    There's NO scenario in SQL server with NO logging. As a matter of course (and as part of the definition of an RDBMS), activity is logged in a way...

  • RE: Upgrading OS to 2003/Vista - impact on SQL Server

    crever (5/21/2008)


    There's no reason why upgrading your clients would effect the domain controller, so AD will remain in tact.

    I've recently upgraded to vista too, and the only issue...

  • RE: The Hot DBA

    I've actually started to notice this. I'm in the market right now, but having been a "jack of all trades" forever, I'm apparently a bit of a challenge for...

  • RE: SAN best practices

    Jeff Moden (5/20/2008)


    Setup profiler to page, call, email, and throw rocks at the hardware team everytime a query takes longer than a certain time to execute... you sleep. 😛

    OH you've...

  • RE: need help with INSERT... OUTPUT clause

    If you're talking about accessing data from the base table not used in the insert...unfortunately - you have to relink to it somehow.

Viewing 15 posts - 3,226 through 3,240 (of 6,486 total)