Forum Replies Created

Viewing 15 posts - 4,426 through 4,440 (of 5,590 total)

  • RE: Are the posted questions getting worse?

    CirquedeSQLeil (4/14/2010)


    WayneS (4/14/2010)


    Lynn Pettis (4/14/2010)


    CirquedeSQLeil (4/14/2010)


    Lynn Pettis (4/14/2010)


    To the TinD I am going, fun you all can have.

    It looks like you can come back now.

    And I did. Just waiting...

  • RE: Stored Procedure and Field Alias

    You need to convert this all to dynamic sql. And, the object names (in this case, the column names), can't be dynamic. Something like this:

    DECLARE @sql VARCHAR(8000)

    SET @sql =

    'SELECT...

  • RE: Trademark

    JKSQL (4/14/2010)


    SELECT CHARINDEX('AAAAAAAA™BBBBBBBBBBBBBB',Char(153))

    I can not seem to get the trademark to work in charindex

    You're using CharIndex wrong... you reversed the parameters.

    Try:

    SELECT CHARINDEX(char(153),'AAAAAAAA™BBBBBBBBBBBBBB')

  • RE: Are the posted questions getting worse?

    Lynn Pettis (4/14/2010)


    CirquedeSQLeil (4/14/2010)


    Lynn Pettis (4/14/2010)


    To the TinD I am going, fun you all can have.

    It looks like you can come back now.

    And I did. Just waiting now to...

  • RE: SQL Question

    Mister Ken, I think the problem with the original query you posted is that you built a derived table, and properly aliased it, but then when you joined it to...

  • RE: 'Debugging Query' for a long time...

    CirquedeSQLeil (4/14/2010)


    WayneS (4/14/2010)


    In SSMS, are you pressing the Green Triangle, or the Red Exclamation Point?

    The Green Triangle is to run in Debug mode, the Red Exclamation Point executes the query....

  • RE: Combine two datasets in SSRS report?

    Tammy,

    Glad to be able to help you out. We know you're an "accidental DBA", and most people here will try to help you out.

    One reason some people won't help out...

  • RE: 'Debugging Query' for a long time...

    In SSMS, are you pressing the Green Triangle, or the Red Exclamation Point?

    The Green Triangle is to run in Debug mode, the Red Exclamation Point executes the query. You want...

  • RE: Combine two datasets in SSRS report?

    TAMMYAUDETTE (4/14/2010)


    I reallly feel like this is something that is simple, but I'm completely missing the logic.

    I have a report I'm building, a report of SKU numbers with sold...

  • RE: Select a string when data in the string varies

    bill.brazell (4/14/2010)


    This is looking very promising. Thank you.

    As for the output, I'd prefer that it not include the name of the delimiter, only the value. i.e. "Ping" instead...

  • RE: Extract a Value in a str

    In the next-to-last INSERT, you have TBMLxxx. It also looks like you did a cut-and-paste and have several lines of -- this should return TBM419, when TBM419 is not in...

  • RE: Convert string to datetime error

    Did you get the column converted to a datetime data type? If so, that constraint won't help you.

  • RE: Convert string to datetime error

    timotech (4/14/2010)


    Hi thanks for your replies. unfortunately the fields has a lot of Null values. there are about 4000 records, how do i fill the nulls

    UPDATE myPoorlyDesignedTable

    ...

  • RE: Select a string when data in the string varies

    Jeff Moden (4/13/2010)


    ... With that in mind, I have a present for you...

    Awesome! thanks - it's been added to my code snippets templates.

    And as is typical for code coming...

  • RE: Select a string when data in the string varies

    Jeff Moden (4/13/2010)


    Heh... ya did it to me again, Wayne. 😉

    Hey... ya snooze, ya looze. 😉 😀

Viewing 15 posts - 4,426 through 4,440 (of 5,590 total)