Forum Replies Created

Viewing 15 posts - 1,201 through 1,215 (of 1,415 total)

  • RE: Uncontrolled Code

    chris.smith 91049 (1/21/2014)


    patrickmcginnis59 10839 (1/21/2014)


    I think Steve's final sentence was telling. We need to deliver solutions faster than the business unit can develop their own

    I think its awesome how sqlservercentral...

  • RE: Uncontrolled Code

    I think Steve's final sentence was telling. We need to deliver solutions faster than the business unit can develop their own

    I think its awesome how sqlservercentral has solved a problem...

  • RE: Uncontrolled Code

    but we can try to make a difference by producing software quicker

    lol why didn't I think of that!

  • RE: Running Total

    Awesome link here discussing various methods:

    http://stackoverflow.com/questions/11310877/calculate-running-total-running-balance

  • RE: We're not craftsmen and craftswomen

    below86 (1/15/2014)


    Well said Craig. This is the point I was trying to make. I need to hone/work at trying to be better at expressing my thoughts into words....

  • RE: We're not craftsmen and craftswomen

    Luis Cazares (1/15/2014)


    below86 (1/15/2014)


    Steve Jones - SSC Editor (1/15/2014)


    below86 (1/15/2014)


    You get pulled into so many different projects with so little time it impossible to 'craft' the perfect solution. As...

  • RE: Running Total

    rakesh ghodasara (1/14/2014)


    Use row_number function to get the ranks and add the current value to previous value

    This would be nice! I would make a small wager that its not possible...

  • RE: We're not craftsmen and craftswomen

    We do what we need to do at work. We get systems working just enough. We get by.

    Everytime we do this, I'm going to hazard a guess that we also...

  • RE: Error converting data type varchar to bigint.

    In this snippet:

    sqlcmd = "Create table #Eft_Transfer( " & vbCrLf _

    & " EFT_No varchar(20), null , " & vbCrLf _

    & " Effective_Date datetime , " & vbCrLf _

    & " Service_Code...

  • RE: Converting resultset in simple select statement

    If we mean actually create select constants from table or query values:

    CREATE TABLE #TEST

    (

    NAME VARCHAR(100),

    FIRSTNAME VARCHAR(100),

    PHONE VARCHAR(100)

    )

    INSERT INTO #TEST

    SELECT 'Test1-L','Test1-F','Germany'

    UNION

    SELECT 'Test2-L','Test2-F','Germany'

    UNION

    SELECT 'Test3-L','Test3-F','Germany'

    ;

    WITH SOURCEQ (ROWNUM, TXTWRK) AS

    (SELECT ROW_NUMBER() OVER (ORDER...

  • RE: Question on Query

    ...home_team.name=null...

    This always evaluates to false. You can test it for null by using

    ...home_team.name IS NULL...

    Probably a fairly common trap!

    Also, you are joining on a column with a potentially null value,...

  • RE: Prohibit UNION queries?

    Sean Lange (1/10/2014)


    hisakimatama (1/10/2014)


    Sean Lange (1/10/2014)


    hisakimatama (1/10/2014)


    The database most definitely isn't safe and secure if queries like those are being injected in. As Gail and the others have said,...

  • RE: Prohibit UNION queries?

    You can tell by the MiXeD cAsE that these hackers are especially elite! Google 'sql injection' and put a halt to it!

  • RE: Prohibit UNION queries?

    Meltdown (1/10/2014)


    Hi all,

    Is it possible to ban/prohibit all UNION queries at the Server or Database level?

    The UNION clause is one of the most common ways that hackers use to append...

  • RE: DIFFERENCE BETWEEN NOLOCK VS WITH(NOLOCK) IN SQL SERVER 2008

    kbhanu15 (1/9/2014)


    Hi All,

    can any one clarify the difference between NOLOCK and WITH(NOLOCK) in sql server 2008 ?

    which one is the best practice to use ?

    I've been in the situation where...

Viewing 15 posts - 1,201 through 1,215 (of 1,415 total)