Forum Replies Created

Viewing 15 posts - 45,346 through 45,360 (of 59,063 total)

  • RE: insert records into another table.

    Vladan, check your code... I don't believe it's coming up with the correct result set. πŸ˜‰

  • RE: procedure

    You can use a While loop if you want... but I wouldn't... πŸ˜‰ See the following...

    http://www.sqlservercentral.com/articles/T-SQL/63003/

  • RE: Rolling Back Strategy

    ammarghanem921 (1/31/2009)


    Hi all

    I do have One stored procedure that calls other stored procedures, each on which might call another stored procedure. However, am making begin transaction, commit transaction and...

  • RE: Using trim with Join

    Isn't there something missing from that JOIN? Like a table or somthing and an equation?

  • RE: count of consecutive value

    RBarryYoung (1/31/2009)


    Heh. You know Jeff, I think that this might change that article that you're writing, just a little bit. I bet you don't mind too much though....

  • RE: Trouble with variables and function

    Jeff Moden (1/31/2009)


    RBarryYoung (1/31/2009)


    For Stephen or anybody else who may be interested, here is a previous thread where Jeff, andrewd.smith, myself and others discuss the finer points of Latitude/Longitude calculations...

  • RE: Trouble with variables and function

    RBarryYoung (1/31/2009)


    For Stephen or anybody else who may be interested, here is a previous thread where Jeff, andrewd.smith, myself and others discuss the finer points of Latitude/Longitude calculations and searchs...

  • RE: Guest Editorial: And Now; a Recitation

    On that note, all I can do

    is raise my mug into the air

    and say "3 cheers to SSC"

    and to all of those that care! πŸ˜€

  • RE: Celebrating A Million

    I ran into an interesting article... glad to see that "big money" hasn't changed Steve a bit since then except that he continues to just keep making it better and...

  • RE: Undocumented Routines: Forbidden fruit.

    Heh... "Don't use undocumented features"... as opposed to what? Using just the documented ones? You mean like the wonderful and heavily documented sp_MakeWebTask whose required privs changed overnight...

  • RE: Top 1 or Max??

    It depends on whether or not you believe in the myth of portable code. TOP is an SQL Server manifestation.

    Other than that, "best", in my book, is the one...

  • RE: Trouble with variables and function

    Heh... Barry graduated from the school of "Right Now" and teaches from the good book of "Boy Howdy!" πŸ˜›

  • RE: GROUPING only if EXISTS

    Dyamond (1/31/2009)


    Hello, I'm trying to keep together/group on the following:

    SELECT date,name,desc,β€˜Code’ as cdDesc

    FROM activity

    WHERE date = β€˜2009-01-05' and site = β€˜80' and

    code in (’55544',’33333', β€˜66666')

    I'm a bit thick on...

  • RE: count of consecutive value

    Ok... coming full circle back to Martin's original problem...

    Here's the test data...

    USE TempDb --Just a safe place to run things

    GO

    --DROP TABLE dbo.YourTable

    GO

    --===== Populate the test table...

  • RE: count of consecutive value

    By the way... if anyone else wants to study the code, the original "puzzle" question and two sets of data are available at the following URL...

    http://www.sqlmag.com/article/articleid/93462/sql_server_blog_93462.html

    ... and like I've done...

Viewing 15 posts - 45,346 through 45,360 (of 59,063 total)