Forum Replies Created

Viewing 15 posts - 436 through 450 (of 621 total)

  • RE: what is table scanning?

    Greg Snidow (8/4/2008)


    I thought PK's were nonclustered indexes.

    Ok, now I have found something in BOL that seems to imply PK's are clustered, at least that's what I think its telling...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: what is table scanning?

    So I gotta ask, since performance tuning is not one of my strong suits, in fact, I don't even really have that suit at all, what are some ways to...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Please help updating ID field

    So does that mean it worked for you?

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Trigger on select

    GilaMonster (7/29/2008)


    Rename the table and see who complains? 😀

    Took out my comment. It was a joke, but could easily have been misconstrued as bad advice.

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Please help updating ID field

    Not tested, but I think this will work. You might want to put a trigger on one of the fields that are required to be updated in order to...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Advanced T-SQL training

    Learning Tree has a pretty comprehensive schedule of SQL classes. My company sent me to two of them, and I found the instructors to be very knowledgable and helpful....

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: SQL Server 2000 - 2 Part Question-Case Statement and Processing speed

    Try this. The RTRIM is in there only because the species field is CHAR. You could omit it if you changed species to VARCHAR. Anyhow, just create...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Using CASE in an ON clause of INNER JOIN

    I think this fixes your original question, which was the CASE in the WHERE clause.

    select distinct

    pl1.locationId as FromId,

    ...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Cursor help

    smunson (7/23/2008)


    Wouldn't you want to present the notes in reverse order of occurrence, with the most recent note at the top, and the date/time of each note showing?

    Thats a good...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Replace value of node in XML stored in NTEXT column

    Ok, without having any more input, I got bored at work, and saw in this a good opportunity to try my limited skills. As always, the caveats are many,...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Replace value of node in XML stored in NTEXT column

    trk225, can you tell me *exactly* which characters you are trying to replace? XML is greek to me, so I don't know what you are trying to do.

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: date format

    SELECT DATENAME(dw,YourDate). Look up DATENAME and DATEPART in BOL.

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: SELECTing a sample

    Sounds like my company. We have so many people who absolutely refuse to make all our jobs easier by using the great tools we've been given, like a database.

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: SQL syntax

    Rodney

    You can open your table in enterprize manager, make your changes, but instead of hitting the save button, there is another button that looks like a scroll, that will show...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

  • RE: Multiple select statements from multiple tables in the one select query for one row.

    Ron, I'm not sure exactly what you are looking for, but based on the four queries you provided, and I fixed the last one based on my assumptions, you get...

    select...

    Greg
    _________________________________________________________________________________________________
    The glass is at one half capacity: nothing more, nothing less.

Viewing 15 posts - 436 through 450 (of 621 total)