Showing posts with label description. Show all posts
Showing posts with label description. Show all posts

Tuesday, March 27, 2012

Error 9104

Why does the server return Error 9104 "auto statistics internal"? I can't find an error description in BOL, MSDN or through a groups/forum search either.

We running Sql Server 2005 (no sp yet) on Windows 2003 server.

Thanks

Do you have the associated state number for this error? It is number like in the range of 1-255 in general. It would be helpful in identifying the cause.|||

Hi Mark,

I only have the severity level, 16. I don't capture the state in my error trace.

We migrated to 2005 in mid-March and this error has been returned twice.

|||

Error 9104 is used internally for control flow. It is never surfaced through T-SQL. I assume you ran a trace to capture errors.

9104 essentially means that auto statistics failed for some reason (deadlock, resource crunch, ...). Since the engine can go on without auto-created or auto-refreshed statistics, the engine doesn't surface this error.

Peter Zabback

SQL Server Optimizer Development

Monday, March 26, 2012

error 823

hi!!!
i have this error 823, when i choise tables in a database, the description is input output error bad page id was detected during ...
if you have any sugections to recovery database, i'm great for them
thanks
manuel ralha
http://www.karaszi.com/sqlserver/inf...suspect_db.asp
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"manuel ralha" <mralha@.foruminformatica.pt> wrote in message
news:66C39796-BD18-4E6C-AED0-DB07AF001973@.microsoft.com...
> hi!!!
> i have this error 823, when i choise tables in a database, the description is input output error bad page id
was detected during ...
> if you have any sugections to recovery database, i'm great for them
> thanks
> manuel ralha
|||hi, thanks
thats a good idea, but when i execute de dbcc checkdb , the error ocurs again
thanks
manuel ralha
|||You didn't say which advice you followed.
Are you saying that you restore the latest clean db backup and all subsequent log backups and one of the log
backups re-introduced the corruption?
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"manuel ralha" <mralha@.foruminformatica.pt> wrote in message
news:371F4671-4653-4A3A-923C-22790C47AD7E@.microsoft.com...
> hi, thanks
> thats a good idea, but when i execute de dbcc checkdb , the error ocurs again
> thanks
> manuel ralha
|||hi:
the error is this in query analiser or in osql:
I/O error (bad page ID) detected during read at offset 0x0000001ef3c000 in file 'D:\cedile\cedile_data.mdf'
manuel ralha
|||What I'm trying to communicate is (as is the article on the web site I suggested) that your best option is
probably to use your backups to restore a clean database, If you feel uncertain about the actions to take, I
suggest you let MS Support help you.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"manuel ralha" <mralha@.foruminformatica.pt> wrote in message
news:8A7D909A-E787-419A-B926-CA0323CF1600@.microsoft.com...
> hi:
> the error is this in query analiser or in osql:
> I/O error (bad page ID) detected during read at offset 0x0000001ef3c000 in file 'D:\cedile\cedile_data.mdf'
> manuel ralha
>
|||hi
thanks for your help, i'm read your web page, and, i follow all steps. but unhappyly, thoesn't work in this database, i have the same errors.
thanks for your collaboration and help.
manuel ralha

error 823

hi!!
i have this error 823, when i choise tables in a database, the description is input output error bad page id was detected during ..
if you have any sugections to recovery database, i'm great for the
thank
manuel ralhahttp://www.karaszi.com/sqlserver/info_corrupt_suspect_db.asp
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"manuel ralha" <mralha@.foruminformatica.pt> wrote in message
news:66C39796-BD18-4E6C-AED0-DB07AF001973@.microsoft.com...
> hi!!!
> i have this error 823, when i choise tables in a database, the description is input output error bad page id
was detected during ...
> if you have any sugections to recovery database, i'm great for them
> thanks
> manuel ralha|||hi, thank
thats a good idea, but when i execute de dbcc checkdb , the error ocurs agai
thank
manuel ralha|||You didn't say which advice you followed.
Are you saying that you restore the latest clean db backup and all subsequent log backups and one of the log
backups re-introduced the corruption?
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"manuel ralha" <mralha@.foruminformatica.pt> wrote in message
news:371F4671-4653-4A3A-923C-22790C47AD7E@.microsoft.com...
> hi, thanks
> thats a good idea, but when i execute de dbcc checkdb , the error ocurs again
> thanks
> manuel ralha|||What I'm trying to communicate is (as is the article on the web site I suggested) that your best option is
probably to use your backups to restore a clean database, If you feel uncertain about the actions to take, I
suggest you let MS Support help you.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"manuel ralha" <mralha@.foruminformatica.pt> wrote in message
news:8A7D909A-E787-419A-B926-CA0323CF1600@.microsoft.com...
> hi:
> the error is this in query analiser or in osql:
> I/O error (bad page ID) detected during read at offset 0x0000001ef3c000 in file 'D:\cedile\cedile_data.mdf'
> manuel ralha
>|||hi
thanks for your help, i'm read your web page, and, i follow all steps. but unhappyly, thoesn't work in this database, i have the same errors
thanks for your collaboration and help
manuel ralha

Sunday, March 11, 2012

error 547

I need to know the completely description of this error. It appears in
sysmessages table
so:
"%ls statement conflicted with %ls %ls constraint '%.*ls'. The conflict
occurred in database '%.*ls', table '%.*ls'%ls%.*ls%ls."
I need to know exactly what kind of values can have this parameters.
Can anybody help me? Please ...
It is very important for me and I didn't know where can I find this info
-enci-Try this.
use pubs
go
SELECT * FROM titles
UPDATE titles
SET pub_id = -1
WHERE title_id = 'BU1032'
It will give you the Error
Server: Msg 547, Level 16, State 1, Line 1
UPDATE statement conflicted with COLUMN FOREIGN KEY constraint
'FK__titles__pub_id__014935CB'. The conflict occurred in database 'pubs',
table 'publishers', column 'pub_id'.
The statement has been terminated.
Roji. P. Thomas
Net Asset Management
https://www.netassetmanagement.com
"Eniko Tegen" <EnikoTegen@.discussions.microsoft.com> wrote in message
news:EB3F91DF-0B9D-4CB3-A57A-2C005F6D65FF@.microsoft.com...
>I need to know the completely description of this error. It appears in
> sysmessages table
> so:
> "%ls statement conflicted with %ls %ls constraint '%.*ls'. The conflict
> occurred in database '%.*ls', table '%.*ls'%ls%.*ls%ls."
> I need to know exactly what kind of values can have this parameters.
> Can anybody help me? Please ...
> It is very important for me and I didn't know where can I find this info
>
> -enci-|||Thanks.
But it doesn't exist an exactly documentation for this error? I mean, I
can't try the all existing cases in which this error appears, cause I don't
know in which cases it appears. I know that it apears in minimum 2 cases:
foreign key-s and check constraint-s. But in every cases(for this 2), there
are diferrent messages for insert, update or delete.
-enci-
"Roji. P. Thomas" wrote:

> Try this.
> use pubs
> go
>
> SELECT * FROM titles
> UPDATE titles
> SET pub_id = -1
> WHERE title_id = 'BU1032'
> It will give you the Error
> Server: Msg 547, Level 16, State 1, Line 1
> UPDATE statement conflicted with COLUMN FOREIGN KEY constraint
> 'FK__titles__pub_id__014935CB'. The conflict occurred in database 'pubs',
> table 'publishers', column 'pub_id'.
> The statement has been terminated.
>
> --
> Roji. P. Thomas
> Net Asset Management
> https://www.netassetmanagement.com
>
> "Eniko Tegen" <EnikoTegen@.discussions.microsoft.com> wrote in message
> news:EB3F91DF-0B9D-4CB3-A57A-2C005F6D65FF@.microsoft.com...
>
>|||Thanks.
But it doesn't exist an exactly documentation for this error? I want to know
exactly how many cases are when this error apears to can make an exactly
translation for this error. I know that this message appears in minimum 2
cases: foreign keys and check constraint, but in every cases from this, it
appears diferent error messages for insert/update/delete operations.
I can't try the all cases if I don't know which are there. :-(
-enci-
"Roji. P. Thomas" wrote:

> Try this.
> use pubs
> go
>
> SELECT * FROM titles
> UPDATE titles
> SET pub_id = -1
> WHERE title_id = 'BU1032'
> It will give you the Error
> Server: Msg 547, Level 16, State 1, Line 1
> UPDATE statement conflicted with COLUMN FOREIGN KEY constraint
> 'FK__titles__pub_id__014935CB'. The conflict occurred in database 'pubs',
> table 'publishers', column 'pub_id'.
> The statement has been terminated.
>
> --
> Roji. P. Thomas
> Net Asset Management
> https://www.netassetmanagement.com
>
> "Eniko Tegen" <EnikoTegen@.discussions.microsoft.com> wrote in message
> news:EB3F91DF-0B9D-4CB3-A57A-2C005F6D65FF@.microsoft.com...
>
>

Wednesday, March 7, 2012

Error 37000

Hello,
Does anyone know how I can reslove this error message:
VB Error: 40002
Generated by: MSRDO20.DLL
Description: 37000 [Microsoft][ODBC SQL Server Driver] [SQL Server] Cannot
open cursor-refereced object "name" during dynamic fetch.
This error message is being generated in sql server 6.5. Thanks.
--
New SQL Server DBA
--
New SQL Server DBAIt means what it says: it is having trouble creating the cursor, then it can
not reference it.
It might be helpful to see the VB call as well as the T-SQL you are
attempting to execute.
Sincerely,
Anthony Thomas
"Newbie" <Newbie@.discussions.microsoft.com> wrote in message
news:4BA5DD03-FBC3-422E-8FDD-11D8AFF8227D@.microsoft.com...
Hello,
Does anyone know how I can reslove this error message:
VB Error: 40002
Generated by: MSRDO20.DLL
Description: 37000 [Microsoft][ODBC SQL Server Driver] [SQL Server] Cannot
open cursor-refereced object "name" during dynamic fetch.
This error message is being generated in sql server 6.5. Thanks.
--
New SQL Server DBA
--
New SQL Server DBA