I am trying to fire following error
"select data_pages(35,) from sysindexes
go"

gives me following error

Msg 913, Level 22, State 2:
Server 'fir150db', Line 1:
Could not find row in sysdatabases with database id 35. Run DBCC CHECKTABLE on
sysdatabases.

-----------
0



BUT when I am firinf folloqing query
select data_pages(35,0) from sysindexes
go

it is showing result.
Why there is an error in first query ?


Can any one help