Forum Replies Created

Viewing 15 posts - 1,606 through 1,620 (of 3,221 total)

  • RE: Calculate dates an individual lives in apartement each month

    I added to data to your original sample data

    Columns left to right ID_U, Bulding A in, Building A out, Building B in, Building B out and so on

    1232010-06-01 00:00:00.0002010-08-08 00:00:00.0002010-08-08...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: T-SQL GO statement

    Hugo Kornelis (11/23/2010)


    bitbucket-25253 (11/23/2010)


    Want some more ...

    CREATE the temptable as ##

    Run the insert code ... do NOT close that instance of SSMS.

    Perform the SELECT * FROM ## statement .. right...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Calculate dates an individual lives in apartement each month

    Removed further testing showed T-SQL posted was incorrect

    Sorry about that, my mistake

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: T-SQL GO statement

    Want some more ...

    CREATE the temptable as ##

    Run the insert code ... do NOT close that instance of SSMS.

    Perform the SELECT * FROM ## statement .. right it returns the...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: T-SQL GO statement

    Hugo Kornelis

    The server does not matter, the client does. You need at least the SSMS version that ships with SQL Server 2005. It should work against any version server,...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    Jeff Moden (11/21/2010)


    LutzM (11/20/2010)


    bitbucket-25253 (11/20/2010)


    ...

    All this gibbering and jabbering about age -- Your are all youngsters.

    I've got a GREAT GRAND DAUGHTER born on April 2nd, 2010. As Jeff...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Merge Statement Question. Using Inserted value

    Here is a proper Merge statement from

    http://technet.microsoft.com/en-us/library/bb510625.aspx

    Here is the code itself, I believe you should be able to insert your table names, which seem to change, from post to post,...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    victorsavinescu (11/21/2010)


    I have to say: "The truth is somewhere in the middle". The world is gray scale.

    So, any beginner just heard the word database today, for the first time,...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Merge Statement Question. Using Inserted value

    Read this, try to impliment the sample code, using a temporary file to receive the output. Once that is done do a Select * FROM the temp file to...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Merge Statement Question. Using Inserted value

    You want to the output $action, dleleted, insert and update items to be output to a temp file , then when the merge complete join the temp file to the...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Indexes

    Have you considered using sp_MSForEachDB? Here is a variation on accomplishing the same effect

    http://www.sqlservercentral.com/Forums/Topic705561-146-1.aspx

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Calculate dates an individual lives in apartement each month

    In order to receive tested help, please post table definition, some sample data in an easy to use format following the procedure listed in article referenced by clicking on the...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    ChrisM@home (11/21/2010)


    bitbucket-25253 (11/20/2010)


    Stefan Krzywicki

    That's not really a clue so much as asking us to do math.

    Now did you know the year WWII ended (1945) or did you have to Google...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Merge Statement Question. Using Inserted value

    mandar.dasgupta

    Without table definitions, sample data it is difficult to assist you in a meaningful way. To receive a tested answer please post table definition(s), sample data and desired...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    Stefan Krzywicki

    That's not really a clue so much as asking us to do math.

    Now did you know the year WWII ended (1945) or did you have to Google that?

    But yes...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

Viewing 15 posts - 1,606 through 1,620 (of 3,221 total)