Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)

  • RE: Debate - .Net Dev Vs. DBA Who will win?

    have him add a Dispose Method to the module to handle all the module scoped objects

    and end each function with

     

    dispose()

    return moDS

     

    Public sub Dispose()

    moSelCmd = nothing           

    moDA = nothing           

    moDataConn.close

    modataconn = nothing

    end sub
     
    thatll...
  • RE: Help optimizing sproc with dynamic sql

    they wont be the same if all users dont have subscriptions.  doing a left join should be the same i think.

  • RE: how would you optimise this query???

    it would seem your data table has to have customer, period, goal in it and you should just be able to join it.

    select customername, programname, goalname,

    customers c, programs p,...

  • RE: Sql Server is automatically logging out users?

    went thruough all of them and none were set to autoclose

    didnt think to look for it right away because if it was closing i would expect to see starting database appear...

  • RE: Query Problem selecting records

    select clientid, coursedate, max([course code]) coursecode

    from [course bookings] b,

    (           SELECT     [client id] clientid, MAX([course date]) coursedate

                FROM        dbo.[course bookings]

                GROUP BY  [client id]

    ) as d

    where d.clientid = b.[client id]...

Viewing 5 posts - 1 through 5 (of 5 total)