Forum Replies Created

Viewing 15 posts - 15,541 through 15,555 (of 26,486 total)

  • RE: need to find out % value

    How is this percentage supposed to be calculated?

  • RE: unfamiliar use of =*

    Glad we could help.

  • RE: Index usage and index cardinality

    Concur. That makes three, must be true.

  • RE: Index usage and index cardinality

    As you mention a table scan, I am making two assumations, 1) the index that you are referencing is a nonclustered index, and 2) there isn't a clustered index on...

  • RE: unfamiliar use of =*

    sharon.souto (5/7/2010)


    Hi all,

    I have some code written by a developer who no longer works here, and they often use a star in their where clauses. I don't know what...

  • RE: Are the posted questions getting worse?

    CirquedeSQLeil (5/7/2010)


    GilaMonster (5/7/2010)


    Gianluca Sartori (5/7/2010)


    Lynn Pettis (5/7/2010)


    Our PhD candidate at work.

    Hope I wasn't too rude.

    This guy has the ability to drive me insane (maybe it's his signature???) .

    You and...

  • RE: Comma Separated List

    Check out the function here. It is an inline TVF and will out perform your multi-line TVF.

    Also, if youdo some searching here on SSC you may find similar routines...

  • RE: Are the posted questions getting worse?

    Gianluca Sartori (5/7/2010)


    Lynn Pettis (5/7/2010)


    Our PhD candidate at work.

    Hope I wasn't too rude.

    This guy has the ability to drive me insane (maybe it's his signature???) .

    I'm STILL trying to...

  • RE: need to find out % value

    san-1015392 (5/7/2010)


    % of errorcount...so need 3 more column...

    Doesn't answer the question really. How is this supposed to be computed? If you have included this in the query above,...

  • RE: need to find out % value

    Percent of what?

    Also, you may want to change this:

    where convert(char(8), dtmdatecreated, 112) >= convert(char(8), GETDATE()-7, 112)

    to this:

    where

    dtmdatecreated >= dateadd(dd, -7, dateadd(dd, datediff(dd, cast('19000101' as datetime), getdate()),...

  • RE: Are the posted questions getting worse?

    Our PhD candidate at work.

  • RE: problem with join

    If you want additional help you need to do some additional work.

    You need to post the DDL (CREATE TABLE statement(s)) for the table(s) involved. You need to report the...

  • RE: DBMail does not work

    You may get better help from your email administrator. That is where i would go with issues like this one.

  • RE: problem with join

    srilu_bannu (5/6/2010)


    What if i have data in sales table like this:

    table c insertion:

    insert into sales values

    (2,200,2007)

    (3,300,2010)

    (5,300,2010)

    if i only include B.year then i will miss 2007 shipped data in Sales table...

  • RE: Need Help Guys on splitting column into two rows - Urgent

    You really don't need to use cursors. A delimited split function written as an inline TVF used with cross apply would work much more efficiently.

    You can find several such...

Viewing 15 posts - 15,541 through 15,555 (of 26,486 total)