Forum Replies Created

Viewing 15 posts - 39,856 through 39,870 (of 49,571 total)

  • RE: why does it display clustered index scan in the Executed plan ?

    Well, the clustered index keys are the columns in your primary key, ie PayCode and DBNo. Since you're filtering by a column that's not one of those and you have...

  • RE: backup

    Krishna Potlakayala (4/9/2009)


    san (4/9/2009)


    how to take transaction log backup without .mdf file

    Interesting, What are you trying to do here?

    I'm guessing take a log tail backup after the MDF has...

  • RE: database level caching

    Vivek (4/9/2009)


    Indexes are not implemented in the database by the client so there are no indexes implemented on the database.

    Why?????

    Will millions of rows in the table and no indexes, you...

  • RE: Question about casting

    Florian Reischl (4/9/2009)


    Anyway since the value cannot be converted to a number it also shouldn't be numeric...

    Oh, but they can.

    '15d1' and '15e1' will cast successfully to float. '10,0' will cast...

  • RE: Are the posted questions getting worse?

    Jeff Moden (4/9/2009)


    I believe you need to ping back and say it was an error. Read the last post on that link very carefully.

    I'll take that 'apology' with a...

  • RE: Question about casting

    The other potential problem being that there are cases where ISNUMERIC returns true, but the value cannot be cast to decimal. ISNUMERIC means that the value in question can be...

  • RE: Beyond the basic query

    To do that, you'd need to cast the date to a varchar. Typically this is a presentation issue and shouldn't be done if this data is going to be inserted...

  • RE: Searching (_) underscore in a Column

    Dev (4/9/2009)


    SELECT * FROM SysUser WHERE CHARINDEX('_' ,Name ) > 0 --> Works and gives me 4 records

    select * from SysUser where name like '%/_%' --> No...

  • RE: Searching (_) underscore in a Column

    WHERE SomeColumn LIKE '%/_%' ESCAPE '/'

    The escape character makes SQL treat whatever follows it as a literal character.

  • RE: Beyond the basic query

    If I'm understanding your requirements correctly, you want this:

    SELECT count(*), status_code_id, bp_type_id, dateadd(mm, datediff(mm,0, effective_date),0) AS EffectiveMonth

    FROM dbo.best_practice_version

    WHERE dbo.best_practice_version.status_code_id IN (5, 4)

    AND...

  • RE: Are the posted questions getting worse?

    Bob Hovious (4/9/2009)


    I have to ask (somewhat fearfully) how did Gail get to be Gila Monster?

    😀 It's no secret or anything. The nickname dates back to University days and is...

  • RE: Are the posted questions getting worse?

    Grant Fritchey (4/9/2009)


    And having seen the Gilamonster in action, I'm glad this isn't possible!

    Man, I'm sorry I missed that seminar. She made a real impression.

    Join us next time?...

  • RE: database restoration error

    Might be a management studio bug. Try restoring using T-SQL?

  • RE: Are the posted questions getting worse?

    There are times I wish I could reach through the computer screen and beat some sense into people...

    I don't know if anyone recalls, much earlier in this thread I posted...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (4/9/2009)


    And then there are those who really should not be giving advice. The code provided here wouldn't even pass a check in SSMS.

    Are we really surprised?

Viewing 15 posts - 39,856 through 39,870 (of 49,571 total)