Forum Replies Created

Viewing 15 posts - 31 through 45 (of 71 total)

  • RE: Index ordering?

    quote]GilaMonster (1/17/2011)


    pdanes2 (1/17/2011)


    Seems a little odd to me, the reverse ordering I would have thought should at least cut down on the index reads.

    No, because it's going to scan the...

  • RE: Index ordering?

    GilaMonster (1/17/2011)


    A: No

    B: Maybe, test and see. Doubt it will be a major difference.

    You were right. I tried both and almost no difference. Seems a little odd to me, the...

  • RE: Unable to delete or edit

    Grant Fritchey (1/17/2011)


    I also tried the READ COMMITTED SNAPSHOT you suggested, but had to leave the building before the change finished. I'll look at it tomorrow to see if it...

  • RE: Unable to delete or edit

    GilaMonster (1/17/2011)


    Generally if you have locks hanging around so long that the timeout (default 30 sec) is hit, you have either badly written code or poor indexing.

    If a query encounters...

  • RE: Unable to delete or edit

    Okay, thanks, I'll look into that. One of the problems I'm running into is that Access locks up while waiting for a query to execute. If I hit one of...

  • RE: Unable to delete or edit

    Grant Fritchey (1/14/2011)


    You're in the right place. When you hit a snag, post a question. Tons of great people here ready to help out.

    Thank you. I did have one more,...

  • RE: Unable to delete or edit

    Grant Fritchey (1/14/2011)


    I would be very, very, very careful about using NOLOCK. It seems like it solves problems, but it can introduce bad data.

    Hmm, yes, I see what you mean....

  • RE: Unable to delete or edit

    Grant Fritchey (1/14/2011)


    It sounds like it could be contention, probably blocking, from uncommitted transactions.

    I think you're right. I never have problems when I work on the DB myself, but I'm...

  • RE: Permissions on sysprocesses view

    Nawar.Tabaa (1/3/2011)


    What is the version you are using?

    MsAccess 2007 runs the application, client machines have XP, Vista and 7.

    Windows Server 2008 is the server OS.

    SQL Server 2008 Express R2 is...

  • RE: Permissions on sysprocesses view

    Nawar.Tabaa (1/2/2011)


    The user granted "VIEW SERVER STATE", must always be able to query sysprocesses for ALL users.

    Please double check that it's already granted it, and you are not mixing between...

  • RE: Permissions on sysprocesses view

    Nawar.Tabaa (1/2/2011)


    Just make sure that the SSMS's connected session is by the user granted the "VIEW SERVER STATE".

    Sorry, I don't understand that. Does that mean I should log in as...

  • RE: Permissions on sysprocesses view

    Update - it quits working when I log out of SSMSE and restart the user app. When I log into SSMSE as sa, it starts working again - I don't...

  • RE: Permissions on sysprocesses view

    Nawar.Tabaa (1/1/2011)


    I beleive you need to explicitly grant View Server State permissions to each of the users.

    "GRANT VIEW SERVER STATE TO user"

    I'll be damned - that did it. I...

  • RE: How smart is SELECT TOP 1?

    GilaMonster (12/31/2010)


    Typically to see if there are any rows you would use EXISTS.

    IF EXISTS (SELECT 1 FROM <SomeTable>)

    BEGIN

    -- Some processing

    END

    Yes, that...

  • RE: Series of INSERT INTO queries, only the first one works

    tfifield (12/30/2010)


    I'm really at a loss here. I set up some test conditions and they seemed to work just fine.

    This was, however, using Access 2007 and ADO against a...

Viewing 15 posts - 31 through 45 (of 71 total)