Forum Replies Created

Viewing 15 posts - 7,381 through 7,395 (of 10,144 total)

  • RE: Are the posted questions getting worse?

    Alvin Ramard (9/16/2010)


    jcrawf02 (9/16/2010)


    Alvin Ramard (9/16/2010)


    The Dixie Flatline (9/16/2010)


    GilaMonster (9/16/2010)


    CirquedeSQLeil (9/16/2010)


    And is that a bit threaded towel to be thrown in?

    *groan*

    If I can get away in time to drive up...

  • RE: Average without zero

    DROP TABLE #Sample

    CREATE TABLE #Sample (Machine INT, Goal INT)

    INSERT INTO #Sample (Machine, Goal)

    SELECT 111, 0 UNION ALL

    SELECT 112, 0 UNION ALL

    SELECT 113, 800 UNION ALL

    SELECT 114, 810

    SELECT AVG(d.Goal)

    FROM (

    SELECT Machine...

  • RE: Returning Row Counts From Procedure?

    It's probably how you are calling the sp. Try this in a query window:

    alter Procedure InsertInstMain(@JobKey Int, @Rows Int Output, @Errors Int Output)

    As

    SET NOCOUNT ON

    --I am trying to populate the...

  • RE: Today's Random Word!

    crookj (9/16/2010)


    Chris Morris-439714 (9/16/2010)


    crookj (9/16/2010)


    Chris Morris-439714 (9/16/2010)


    Joe, is your middle name "The"?

    😀

    I have been called the works. In fact - I use this quote sometimes when questioned:

    Hedley Lamarr: "I want...

  • RE: Today's Random Word!

    crookj (9/16/2010)


    Chris Morris-439714 (9/16/2010)


    Joe, is your middle name "The"?

    😀

    I have been called the works. In fact - I use this quote sometimes when questioned:

    Hedley Lamarr: "I want rustlers, cut throats,...

  • RE: Today's Random Word!

    Joe, is your middle name "The"?

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (9/16/2010)


    Paul White NZ (9/16/2010)


    Brandie Tarvin (9/16/2010)


    I don't know. I read his apology like a passive-aggressive slap upside the head. "Yes, I'm apologizing, but only because I got called...

  • RE: Syntax for creating a table on the fly

    Joe Contreras-290946 (9/16/2010)


    Hi,

    I can't remember the exact syntax on creating a table that doesn't exists using SQL. Can someone help out.

    SELECT firstname,lastname [NEWTABLENAME] FROM Employees

    Not sure if that's the...

  • RE: Finding the two highest values for a criteria

    Jeff Moden (9/16/2010)


    FelixG (9/16/2010)


    Thanks a lot Jeff, I'm coming from SQL Server 2000 and did not have knowledge about rownumber().

    I said "performance is vital" to avoid the use of...

  • RE: Changing from INSERT INTO...SELECT (with a UNION) to SELECT INTO

    Robert Frasca (9/14/2010)


    In this case, I'm simply trying to switch from a fully logged "INSERT INTO..SELECT" to a minimally logged "SELECT INTO...".

    Typically, how many rows are returned by...

  • RE: Need for right and left outer join

    The only time I ever encountered a requirement for both was a hypothetical question in an interview a few years ago. If I see RIGHT JOIN in a query I've...

  • RE: I want optimize the store procedure-It's take more time to excecute by use while loop

    s.chandrahasan (9/16/2010)


    Hi ,

    first many thanks for ur reply !!!

    I tried but i can't do ,

    can u please post again your code for my updated code...

  • RE: I want optimize the store procedure-It's take more time to excecute by use while loop

    s.chandrahasan (9/16/2010)


    can u please check below one and advise me

    how to avoid while loop in this below case :

    Sure.

    This set of statements performs the same action as...

  • RE: Are the posted questions getting worse?

    Alvin Ramard (9/16/2010)


    Beer is good, but great God people are crazy. 🙂

  • RE: Are the posted questions getting worse?

    Alvin Ramard (9/15/2010)


    CirquedeSQLeil (9/15/2010)


    jcrawf02 (9/15/2010)


    bitbucket-25253 (9/15/2010)

    By the way for some reason going down is always slower and harder than going up.

    Couldn't have anything to do with the fact that you...

Viewing 15 posts - 7,381 through 7,395 (of 10,144 total)