Forum Replies Created

Viewing 15 posts - 12,931 through 12,945 (of 26,486 total)

  • RE: how to sum up instances only 3 of the 4 values that can occur in a given column

    xenophilia (4/11/2012)


    OK back to the original DDL and general problem. That CASE statment works, however I don't have counts returning for two of those values. This would be fine except...

  • RE: CTE Usage

    dwain.c (4/11/2012)


    Gilamonster said:

    Semicolons are statement terminators, as such they should terminate statements, not start them. We don't start sentences in English with fullstops.

    Semicolons are referred to as statement terminators only...

  • RE: Database only backups when compression is off.

    I'm glad to see that you have a working solution and that I could help.

  • RE: Amount Of Admin Required

    SQLKnowItAll (4/11/2012)


    dec_obrien (4/11/2012)


    Don't ask me why but around a couple of hours a month was my gut feeling!

    Any interest in doing this remotely?? (for a small fee of course:-))

    I'm in...

  • RE: trimming a string

    capn.hector (4/11/2012)


    Lynn Pettis (4/11/2012)


    xenophilia (4/11/2012)


    No, for the original DDL that I posted, her trimming functions worked. They returned Beverages.

    I still only need the string between the first...

  • RE: Are the posted questions getting worse?

    I do get the satisfaction of having helped someone who thought I was wrong regarding a problem with compressed backups. That makes me feel good.

  • RE: Are the posted questions getting worse?

    Jeff Moden (4/11/2012)


    Lynn Pettis (4/11/2012)


    Lynn Pettis (4/11/2012)


    Not sure but I think this individual, xenophilia, should change their name to xenosqlia.

    Please, someone tell me why, just why do I keep helping...

  • RE: trimming a string

    xenophilia (4/11/2012)


    No, for the original DDL that I posted, her trimming functions worked. They returned Beverages.

    I still only need the string between the first set of backslashes

    I...

  • RE: trimming a string

    Are we talking T-SQL code or SSIS?

  • RE: trimming a string

    xenophilia (4/11/2012)


    BTW, the string between the first pair of backslashes will vary in length from row to row

    And your point? The only fixed point the first \ in the...

  • RE: trimming a string

    Instead of constantly asking questions how about trying things out yourself?

  • RE: Gibberrish Characters

    Murphy'sLaw (4/11/2012)


    SQLKnowItAll (4/11/2012)


    Let me get this straight... Instead of meaningless ?'s, your client wants other meaningless characters? Clearly, the conversion is finding some conversion for the characters in columns 7...

  • RE: Recommendation needed for reindexing/reorganizing on multiple servers in multiple dbs

    Reorg is fully logged and can be aborted without losing any work already completed and it olny works at the leaf level so runs faster.

    A rebuild is all or nothing....

  • RE: Are the posted questions getting worse?

    Lynn Pettis (4/11/2012)


    Not sure but I think this individual, xenophilia, should change their name to xenosqlia.

    Please, someone tell me why, just why do I keep helping someone who doesn't try...

  • RE: trimming a string

    See if this helps you:

    DECLARE @tststr VARCHAR(64);

    SET @tststr = '\Beverages\Soda Pop\Mountain Dew ';

    SELECT SUBSTRING(RIGHT(@tststr,DATALENGTH(@tststr) - 1),1,PATINDEX('%\%',RIGHT(@tststr,DATALENGTH(@tststr) - 1)) - 1);

Viewing 15 posts - 12,931 through 12,945 (of 26,486 total)