Forum Replies Created

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

  • RE: index record count difference

    sorry for the delay - but the checkdb lasts a while, there are almost 250.000 tables in the db.

    checkdb and again checktable - both without errors

    but no difference today!!!...

  • RE: index record count difference

    no problem on sunday,

    trying it to start again today after our business hour (in one hour)

  • RE: index record count difference

    the 6 records are old records (last year), we mentioned the error, because there where reports with different results.

    to find the problem I created a simple select with and without...

  • RE: index record count difference

    no - there is absolute no indication for an error

  • RE: index record count difference

    every week on sunday

  • RE: index record count difference

    I executed the checktable befor rebuilding the index - there was no error log;

    the question is, what can cause this difference of rows in the index

  • RE: index record count difference

    I checked it - there are no Nulls

    the problem is, that the application (Navision) comes to different results, depending on what report was started. (with the profiler I saw the...

  • RE: index record count difference

    select COUNT(*) from [dbo].[AT101 Swietelsky Bau GmbH$Sachposten]with(index(0))

    where

    [Sachkontonr_]= '250020' and

    Buchungsdatum <= '2011-09-30'

    select COUNT(*) from [dbo].[AT101 Swietelsky Bau GmbH$Sachposten]with(index(7))

    where

    [Sachkontonr_]= '250020' and

    Buchungsdatum <= '2011-09-30'

    First selcect delivers: 1325748

    second: 1325742

  • RE: User without mapping

    Hi,

    Thank´s a lot - the script work´s well on SQL 2005. But it does not list users which have no user mapping.

    The reason for the solution I need...

  • RE: User without mapping

    Hi,

    that´s not my problem. I have a login, an the login has no databases mapped. So it´s not an orphaned, and the "sp_change_users_login 'Report' " reports nothing.

  • RE: Drop 400 user from database role

    Hi, Thank´s a lot. I just wrote the following script, and it work´s fine

    Use [Test]

    declare

    @username varchar(64)

    declare c1 cursor for select name from sysusers

    where uid > 1

    ...

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