Forum Replies Created

Viewing 6 posts - 91 through 96 (of 96 total)

  • RE: Extra Records

    Thanks

    The CTE trick doesn't seem to work either. Well the solution does work, but it's not doing what I want to achieve.

  • RE: Extra Records

    John Mitchell-245523 (6/2/2011)


    As for only returning the most recent activity for each employee, do something like this:

    SELECT

    Employee

    , MAX(ActivityTime) AS ActivityTime

    FROM

    MyTable

    GROUP...

  • RE: Extra Records

    John Mitchell-245523 (6/2/2011)


    but if you run all commands in the context of the one database

    That's the 'problem', I connect to one database in my connection string, then reference tables, columns...

  • RE: Linked Server - Named Instance

    They are the same physical server, so yes the server can ping itself by name and resolve to IP address. As above, the 2 instances are on the same physical...

  • RE: Active Directory Query

    OK, my problem is solved; it was a double hop issue between the various devices. Chaning the SQL service account to use Kerberos fixed it.

    Another problem; is it possible to...

  • RE: Active Directory Query

    Sorry to dig up this old thread, but i've come across this problem.

    The route pcs take is:

    Client PC -> Web Server (IIS 6.0) -> SQL Server 2005 -> Domain Controllers

    I...

Viewing 6 posts - 91 through 96 (of 96 total)