Forum Replies Created

Viewing 15 posts - 1,591 through 1,605 (of 6,486 total)

  • RE: Is there a way for a sproc to give control back to calling application while finishing executing?

    You need to look at changing how you make your call to the stored procedure. What you're describing sounds like something akin to messaging: you just request that the...

  • RE: The Flaws of Choice

    Steve Jones - Editor (12/7/2009)


    Is a hot dog cooker inefficient? Having one means that my kid might be able to cook something without help. It might seem like a waste...

  • RE: Has our SQL server been hacked?

    This could also be the slammer worm as well. Onnce compromised, the server would "generate a random IP" and start trying to connect to it.

  • RE: Crosstab query - Please help. it has been a few days without sleep

    Jeff Moden (12/5/2009)


    The JPG's won't help me or you. I suspect the devil is in the data. My recommendation is that you need to start with a row...

  • RE: how to use trim??

    Bru Medishetty (12/4/2009)


    igngua (12/4/2009)


    I didn´t get how tu use trim function.

    I have a col with data and i need to erase all blank spaces to the right of the string....

  • RE: Who Watches the Watchers?

    Brandie Tarvin (12/3/2009)


    In my experience, the Compliance team (or whatever name the watchdogs have) are not tech people. If a DBA wanted to get away with something, it would be...

  • RE: SQL server shuts down randomly

    GilaMonster (12/1/2009)


    Matt Miller (#4) (12/1/2009)


    Considering we're looking at a dev edition error log, this is possibly someone shutting the machine down (which could be a workstation and not a server).

    If...

  • RE: SQL server shuts down randomly

    Jeff Moden (12/1/2009)


    Heh... clever startup procedure trick by a laid off employee???

    Considering we're looking at a dev edition error log, this is possibly someone shutting the machine down (which could...

  • RE: help add column of repeating numbers 123412341234

    TheSQLGuru (12/1/2009)


    I didn't use the NTILE function because it seemed the OP wanted the 'buckets' of leads per salesperson to be evenly distributed in desc order. Something semi-random such...

  • RE: help add column of repeating numbers 123412341234

    TheSQLGuru (12/1/2009)


    Peter Schott (12/1/2009)


    Keep forgetting about the Row_Number function, even though I've used it. SQL 2000 and lower habits are pretty deeply entrenched. 😛

    Thanks for the reminder about that...

  • RE: Rant of the Day

    As long as it's only for Y/N, then Char(1) or NCHAR(1) is fine I suppose. That said - if it's also nullable, you can call it whatever you like...

  • RE: Slow Performaning XQuery

    Is there any case where items don't have descriptions? If that is NOT the case - you can do this in one pass and get rid of the cross...

  • RE: How using SQL to generate random string?

    bitbucket-25253 (11/23/2009)


    String len 4 characters

    Rows written to the table 68,600

    Errors begin after 18,717 rows written

    String Len 5 characters

    Rows written to the table 591,200

    Errors begin after rows written...

  • RE: Insert into db (using ASP/VB.NET and SQL Server 2005)

    If you want to make sure the data isn't there - then why check at all? Just issue the delete statement, followed by an insert statement.

    If no data matches,...

  • RE: Error handling in 2K8

    Some classes of errors pop the error outside of the current context and end up creating the error in the outer context .

    Just for testing purposes - try setting up...

Viewing 15 posts - 1,591 through 1,605 (of 6,486 total)