Repeated SQLServer Error: 512 in event log with no queries or jobs running

Hi to all,

I have a SQL 2008 server that shows the below error messages in the SQL Server Agent log.

[298] SQLServer Error: 512, Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression. [SQLSTATE 21000]

I have no jobs running and no queries being executed but the error are just go on and on. I have restarted the server and and agent but still the same problem.

Can someone please help me fixing this problem?


more ▼

asked May 13 '10 at 06:34 AM in Default

Adrian 2 gravatar image

Adrian 2
1 1 1 1

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

If this error is being logged it must be coming from a query that's being executed. Use the SQL Profiler to see what activity is going on.

more ▼

answered May 13 '10 at 07:29 AM

David Wimbush gravatar image

David Wimbush
4.7k 28 29 31

It looks like I found the problem. I had alert setup to notify me of hight CPU usage and send me a mail. This I could never get to work but it stayed enabled. I deleted the alret and the events stoped. Thanks
May 13 '10 at 07:46 AM Adrian 2
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: May 13 '10 at 06:34 AM

Seen: 4022 times

Last Updated: May 13 '10 at 06:37 AM