Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Administering
»
Rebuild,Reorganize index job failed
Rebuild,Reorganize index job failed
Rate Topic
Display Mode
Topic Options
Author
Message
dba_neo
dba_neo
Posted Monday, February 01, 2010 9:44 AM
Valued Member
Group: General Forum Members
Last Login: Thursday, October 21, 2010 1:18 PM
Points: 71,
Visits: 380
Team,
My Rebuild,Reorganize index job has been failing because of the following error,it is scheduled to be executed in only one db and the db is in simple mode.
ON [my].[User] REBUILD [SQLSTATE 01000] (Message 0) Executed: ALTER INDEX [IX_myUser_UserID] ON [my].[User] REBUILD [SQLSTATE 01000] (Message 0) Executed: ALTER INDEX [IX_EmPID] ON [EMPSs].[EMP] REORGANIZE [SQLSTATE 01000] (Message 0) Executed: ALTER INDEX [idx_TypeID] ON [EMPs].[EMP] REORGANIZE [SQLSTATE 01000] (Message 0) Executed: ALTER INDEX [IX_Files] ON [dbo].[Unload] REBUILD [SQLSTATE 01000] (Message 0) Executed: ALTER INDEX [IX_CardID] ON [Card].[Time] REBUILD [SQLSTATE 01000] (Message 0) Executed: ALTER INDEX [PK_PowerID] ON [dbo].[Power] REBUILD [SQLSTATE 01000] (Message 0) Executed: ALT... The step failed.
Post #857332
Shriji
Shriji
Posted Monday, February 01, 2010 10:14 AM
Valued Member
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 11:55 AM
Points: 65,
Visits: 308
dba_neo (2/1/2010)
Team,
My Rebuild,Reorganize index job has been failing because of the following error,it is scheduled to be executed in only one db and the db is in simple mode.
ON [my].[User] REBUILD [SQLSTATE 01000] (Message 0) Executed: ALTER INDEX [IX_myUser_UserID] ON [my].[User] REBUILD [SQLSTATE 01000] (Message 0) Executed: ALTER INDEX [IX_EmPID] ON [EMPSs].[EMP] REORGANIZE [SQLSTATE 01000] (Message 0) Executed: ALTER INDEX [idx_TypeID] ON [EMPs].[EMP] REORGANIZE [SQLSTATE 01000] (Message 0) Executed: ALTER INDEX [IX_Files] ON [dbo].[Unload] REBUILD [SQLSTATE 01000] (Message 0) Executed: ALTER INDEX [IX_CardID] ON [Card].[Time] REBUILD [SQLSTATE 01000] (Message 0) Executed: ALTER INDEX [PK_PowerID] ON [dbo].[Power] REBUILD [SQLSTATE 01000] (Message 0) Executed: ALT... The step failed.
Did you try to run it from SQL Manage Studio manually out of the job? I will give you more specific error message if any...
Post #857368
dba_neo
dba_neo
Posted Monday, February 01, 2010 10:22 AM
Valued Member
Group: General Forum Members
Last Login: Thursday, October 21, 2010 1:18 PM
Points: 71,
Visits: 380
No,i didnt run the job manually ,it has been scheduled as a job!
Post #857378
dba_neo
dba_neo
Posted Monday, February 01, 2010 10:50 AM
Valued Member
Group: General Forum Members
Last Login: Thursday, October 21, 2010 1:18 PM
Points: 71,
Visits: 380
can any know the solution for this problem?
Post #857412
dba_neo
dba_neo
Posted Monday, February 01, 2010 11:52 AM
Valued Member
Group: General Forum Members
Last Login: Thursday, October 21, 2010 1:18 PM
Points: 71,
Visits: 380
HI,
i got the message for all indexes as follows
Executed: ALTER INDEX [IX_ActGUID] ON [dbo].[Primt] REBUILD [SQLSTATE 01000]
Msg 1934, Sev 16, State 1, Line 1 : ALTER INDEX failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or query notifications and/or xml data type methods. [SQLSTATE 42000]
Post #857460
Jeffrey Williams 3188
Jeffrey Williams 3188
Posted Monday, February 01, 2010 1:06 PM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Friday, May 17, 2013 11:21 AM
Points: 4,317,
Visits: 9,216
dba_neo (2/1/2010)
HI,
i got the message for all indexes as follows
Executed: ALTER INDEX [IX_ActGUID] ON [dbo].[Primt] REBUILD [SQLSTATE 01000]
Msg 1934, Sev 16, State 1, Line 1 : ALTER INDEX failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or query notifications and/or xml data type methods. [SQLSTATE 42000]
This means that you have one or more indexes that have been created on views (or computed) columns with incorrect settings.
Identify those indexed views and recreate them with the appropriate SET options for indexed views. You can find the correct settings in books online.
Jeffrey Williams
Problems are opportunites brilliantly disguised as insurmountable obstacles.
How to post questions to get better answers faster
Managing Transaction Logs
Post #857509
dba_neo
dba_neo
Posted Monday, February 01, 2010 3:10 PM
Valued Member
Group: General Forum Members
Last Login: Thursday, October 21, 2010 1:18 PM
Points: 71,
Visits: 380
how can i identify the computed views/columns and rebuild them using set operation?
Post #857594
MANU-J.
MANU-J.
Posted Monday, February 01, 2010 6:02 PM
SSCommitted
Group: General Forum Members
Last Login: 2 days ago @ 11:42 AM
Points: 1,654,
Visits: 8,563
select distinct object_name(syscolumns.id),
syscolumns.name As CalculatedColumn ,
syscomments.text as TheCalculation,
isnull(object_name(SYSINDEXKEYS.id),'No Index Using This CalculatedColumn') As IndexName
from syscolumns
inner join syscomments on syscolumns.id=syscomments.id
left outer join sysindexes
on syscolumns.id=sysindexes.id
left outer join SYSINDEXKEYS ON sysindexes.ID=SYSINDEXKEYS.ID
AND sysindexes.INDID=SYSINDEXKEYS.INDID
and SYSINDEXKEYS.COLID=SYSCOLUMNS.COLID
where iscomputed <> 0
http://www.sqlservercentral.com/Forums/Topic839504-146-1.aspx#bm840446
MJ
Post #857664
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.