Forum Replies Created

Viewing 15 posts - 7,216 through 7,230 (of 10,144 total)

  • RE: Are the posted questions getting worse?

    GilaMonster (10/7/2010)


    Alvin Ramard (10/7/2010)


    I thought the next version of SQL was going to be 2011.

    Not necessarily. No release date or name has been announced. The reason people have...

  • RE: Are the posted questions getting worse?

    Alvin Ramard (10/7/2010)


    CirquedeSQLeil (10/7/2010)


    Steve Jones - SSC Editor (10/7/2010)


    Thanks for the notes, and it was a nice day yesterday. Alvin wins a prize, but everyone is appreciated.

    Plus beer's and BBQ...

  • RE: Today's Random Word!

    Daniel Bowlin (10/7/2010)


    Funny hat day at work.

    Bowler.

  • RE: Are the posted questions getting worse?

    WayneS (10/7/2010)


    Brandie Tarvin (10/7/2010)


    GilaMonster (10/7/2010)


    This has got to take some form of prize. http://www.sqlservercentral.com/Forums/FindPost1000227.aspx

    Time to get the crystal ball out again.

    Apparently it's my turn to feel snippy. I couldn't resist.

    IMO,...

  • RE: Query not returning the right amount of records.

    Brandie Tarvin (10/7/2010)


    Chris Morris-439714 (10/7/2010)


    So, what's this all about?

    INNER JOIN SOP30300

    ON SOP30200.SOPNUMBE = SOP30300.SOPNUMBE AND RM20101.DOCNUMBR = SOP30300.SOPNUMBE

    Are you absolutely sure that RM20101.DOCNUMBR should match to SOP30300.SOPNUMBE ?...

  • RE: Grouping Out Of Order

    That's nicely condensed, Ken. I'd been working on a version

    ;WITH CTE1 AS (

    SELECT BookID, StudentID, LoanDate, ReturnDate,

    RowNum1 = ROW_NUMBER() OVER (ORDER BY BookID, LoanDate),

    RowNum2 = ROW_NUMBER() OVER (PARTITION...

  • RE: Temporary Tables performance issue

    nadersam (10/7/2010)


    can u pls tell me whats wrong in this syntax, i am trying to use table valued functions instead

    Thanks

    Create function [GetTableData] (@TableName varchar(50),@RowID integer)

    returns table

    AS

    Declare @MySQL varchar(100);

    Set @Mysql=...

  • RE: Update query

    christine.koh (10/6/2010)


    If select the top(100000) records to update, will it continue to update the next top(100000)?

    No, you would have to run it again. That's the point.

    christine.koh (10/6/2010)


    if the last...

  • RE: Where are you?

    Tom.Thomson (10/6/2010)


    Ray K (10/6/2010)


    So whose towns have the best brew-pubs?

    Dunbar, East Lothian, Scotlan has The Eagle Inn (pub) with alses brewed locally by the Bellhaven Brewery

    Belhaven gets my vote -...

  • RE: Query not returning the right amount of records.

    So, what's this all about?

    INNER JOIN SOP30300

    ON SOP30200.SOPNUMBE = SOP30300.SOPNUMBE AND RM20101.DOCNUMBR = SOP30300.SOPNUMBE

    Are you absolutely sure that RM20101.DOCNUMBR should match to SOP30300.SOPNUMBE ? Look at the join...

  • RE: Query not returning the right amount of records.

    Here's a pretty version of your query which is much easier on the eye.

    SELECT

    '1060' AS bukrs,

    'ZO' AS blart,

    CONVERT(VARCHAR(35), RM20101.DOCDATE, 112) AS bldat,

    CONVERT(VARCHAR(35), RM20101.POSTDATE, 112) AS budat,...

  • RE: Today's Random Word!

    Brandie Tarvin (10/6/2010)


    And on another note. Remember this: "It's just a rabbit."

    Foodsource. <<Licks paws nonchalantly>>

  • RE: Are the posted questions getting worse?

    Somehow, for reasons long ago forgotten, Post Count has been set up as the unusual datatype NUMERIC(6,0).

  • RE: Optimizing the Query..

    vijay1327-891581 (10/6/2010)


    1: Remove count(*) and replace it with count(any one INTEGER type column). Here all you are doing is checking if there is any row > 0

    Since the two...

  • RE: Optimizing the Query..

    Ken McKelvey (10/6/2010)


    Also, the trunc and sysdate functions suggest this is an ORACLE query.

    Darn. :blush:

    Wish I'd caught this, what a waste of a lunchtime.

Viewing 15 posts - 7,216 through 7,230 (of 10,144 total)