Forum Replies Created

Viewing 15 posts - 12,736 through 12,750 (of 15,381 total)

  • RE: TSQL Challenge 78 - Parse single field into multiple fields

    LOL. Forget about efficiency I want this in a single query no matter how slow!!! 😀

  • RE: Blank data

    Pretty sparse on the details here. I can think of several ways of doing but it all depends on exactly what you are trying to do. As Anthony said UNION...

  • RE: ORDER BY clause

    Something like this should get you there.

    select * from @t c

    WHERE c.name LIKE '%[0-9]%'

    order by cast(replace(c.name, 'count_', '') as int)

  • RE: ORDER BY clause

    That is because you are ordering by characters. The only way you will be able to get your results in the order you want is to order by something else,...

  • RE: Tabs or Spaces

    I would tend to lean on the side of preferring tabs to spaces. I have worked in some environments where tabs would retain spaces like you mention but everybody had...

  • RE: Looping

    Spam reported on posts above.

  • RE: default value for foreign key column

    That is really the definition of how foreign keys work. The value in the foreign key column MUST exist in the original table. As Lowell said you either need the...

  • RE: Covert rows into a comma delimited string

    Hi and welcome to SSC. Please take a look at the first link in my signature for best practices on posting questions. It would make this lot easier to answer...

  • RE: business key in Scd

    duplicate post. Please direct all replies here. http://www.sqlservercentral.com/Forums/Topic1268345-364-1.aspx

  • RE: how to write for loop and cursor in sql server

    Lynn Pettis (3/16/2012)


    er.sivaganesh (3/16/2012)


    thanks for every one who joined in this discussion i just solved this problem by creating cusor in...

  • RE: Looping

    patrickmcginnis59 (3/16/2012)


    Sean Lange (3/16/2012)


    patrickmcginnis59 (3/16/2012)


    jeff.mason (3/16/2012)


    patrickmcginnis59 (3/16/2012)


    Sean Lange (3/16/2012)


    Nice easy question. Unfortunately the choices are worded such that none of them are really correct. The biggest issue is this is...

  • RE: Looping

    patrickmcginnis59 (3/16/2012)


    jeff.mason (3/16/2012)


    patrickmcginnis59 (3/16/2012)


    Sean Lange (3/16/2012)


    Nice easy question. Unfortunately the choices are worded such that none of them are really correct. The biggest issue is this is testing syntax on...

  • RE: Case Statement

    Lynn Pettis (3/16/2012)


    Sean Lange (3/16/2012)


    I would recommend skipping the local installation and just the online version. There are frequent updates to the online version, your local installed version will not...

  • RE: Case Statement

    I would recommend skipping the local installation and just the online version. There are frequent updates to the online version, your local installed version will not have those updates.

  • RE: Looping

    Nice easy question. Unfortunately the choices are worded such that none of them are really correct. The biggest issue is this is testing syntax on a construct that we strive...

Viewing 15 posts - 12,736 through 12,750 (of 15,381 total)