Forum Replies Created

Viewing 15 posts - 11,956 through 11,970 (of 15,381 total)

  • RE: Updating text within a single column, but not the entire string, duplicates string being updated

    rabisco (5/15/2012)


    Sean Lange (5/15/2012)


    The more I think about this the more ugly it becomes. Can this be done in managed code instead in the database? t-sql is just not that...

  • RE: Updating text within a single column, but not the entire string, duplicates string being updated

    The more I think about this the more ugly it becomes. Can this be done in managed code instead in the database? t-sql is just not that efficient at this...

  • RE: Sorting AlphaNumeric non standard field

    YUCK!!! Can you go to the to other group and tell him how horrible their naming convention is? Add an underscore, space, anything...

    OO_27_a

    Fixing this at the source will be...

  • RE: Self Service SQL

    Revenant (5/15/2012)


    The problem, IMO, is that in many orgs there is never enough time to do things right the first time, but always enough time to "revisit" them, unfortunately with...

  • RE: parse string

    I would suggest that the looping concept above is not going to be very good for performance. What you are looking for is a slight tweak to an InitCap type...

  • RE: Self Service SQL

    /soapbox on

    Yeah this just screams of bad things. I have referred to Access as "Corporate Cancer" for a long time. It seems that MS has decided we need fight an...

  • RE: Getting Rid of ISNULL

    Lynn Pettis (5/15/2012)


    Looking at the how isnull is being used, to change null to 0, removing the isnull function is the correct step.

    +1 yes this looks correct assuming we are...

  • RE: performance tunning

    If you want some real help please read the following article. How to Post Performance Problems[/url]

    Without some details there is <0% chance that anybody will be offer any really good...

  • RE: TADOQuery Error While Executing The SQL Second Time

    That sounds to me then like your connection is getting closed and therefore losing your app role. Maybe you should try either not closing the query object in between or...

  • RE: CTE

    amanmeet.mehta 46966 (5/14/2012)


    Sorry for being a pain so what entry do i need to put to get this resolved?

    You aren't being a pain. 😛 I think you need to build...

  • RE: CTE

    That is because you don't have data for that. Your second QA Fund 1 is from ID 7. There is nothing that says it has a parent of QA Fund...

  • RE: CTE

    You don't have any missing rows.

    Take a look at this, it will show the ID of the children.

    ;WITH cte AS

    (

    SELECT CAST('' + Name AS VARCHAR(100)) as 'Name', ID

    FROM dbo.RELATION

    WHERE PARENT_ID...

  • RE: CTE

    Thanks that helps to see what the issue a ton!!!

    I don't see how you would get the "missing" row. What you have coded is exactly what the data says should...

  • RE: CTE

    That is not ddl and does not make anything easier. Create table scripts and sample data (insert statements).

  • RE: CTE

    It would be quite a bit easier to help if you provided ddl and sample data. take a look at the first link in my signature for best practices when...

Viewing 15 posts - 11,956 through 11,970 (of 15,381 total)