Forum Replies Created

Viewing 15 posts - 6,316 through 6,330 (of 18,926 total)

  • RE: Complicated join...

    Lowell (5/9/2011)


    mikeincape (5/9/2011)


    Ahhh Ha!

    Ok.... Runs fine on my server. Must be from using the express version on my local pc...

    [fist pump] YES!!!!

    BOTH hands on the keyboard plz! :smooooth:

  • RE: Complicated join...

    mikeincape (5/9/2011)


    Ninja's_RGR'us (5/9/2011)


    Lowell (5/9/2011)


    Ninja's_RGR'us (5/9/2011)


    It's definitely possible, but if he could run my create db code, then I don't see why it would fail there (never seen that before).

    The only...

  • RE: Complicated join...

    We're missing something really simple. Like running on wrong server, wrong DB, stupid syntaxe issue. Maybe a trigger somewhere?!?!?

    Are you running something else in that batch?

    I'm going to...

  • RE: Complicated join...

    Lowell (5/9/2011)


    Ninja's_RGR'us (5/9/2011)


    It's definitely possible, but if he could run my create db code, then I don't see why it would fail there (never seen that before).

    The only thing I...

  • RE: Complicated join...

    mikeincape (5/9/2011)


    Are you using any 3rd party application that refactors sql?

    Using SQL management Studio to execute the queries you are sening me... No 3rd party apps anywhere.

    Also, we've done it...

  • RE: Complicated join...

    Lowell (5/9/2011)


    mikeincape (5/9/2011)


    Yes... This gives me the dataset I need. Thanks!... Still getting that weird error though... Any Ideas?

    Ninja's is going to kick me for repeating what he already proved...

  • RE: Complicated join...

    alan.williams (5/9/2011)


    Why not just do a Union of the two queries

    Delete that line

    WHERE RW = 1

  • RE: Complicated join...

    Union <all> add rows, in this case he wants columns.

  • RE: Complicated join...

    Are you using any 3rd party application that refactors sql?

    BTW, the 1st left join will return ALL ROWS instead of 1, I'm not sure this is what you want. ...

  • RE: Complicated join...

    mikeincape (5/9/2011)


    Your test query executed successfully.

    Ok then post the full code you are running, maybe we're missing something obvious... or you're running it on the wrong server :w00t:.

  • RE: Complicated join...

    mikeincape (5/9/2011)


    The dates being returned are not the correct dates. They are completely off... I have double checked using my old method, and looking directly in the database one record...

  • RE: Complicated join...

    If the query runs then youre problem is elsewhere!!!

    Just for the fun of it, run my script and see if that works. That'll confirm if the server's able to...

  • RE: Report not working in Report server

    Then it's most likely a permissions issue.

    I've seen session problems in ASP.net but I don't see how those could apply here.

  • RE: DROP STATISTICS - Specifying a Database

    I have to have to use it myself... but that's the way it works right now!

  • RE: Complicated join...

    mikeincape (5/9/2011)


    I just looked and I am in 90 compatibility mode.

    Then with the comma added, what error are you getting (if any)?

Viewing 15 posts - 6,316 through 6,330 (of 18,926 total)