SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Computed column query
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

subhaoviya
Posting Yak Master

India
135 Posts

Posted - 06/13/2014 :  11:19:38  Show Profile  Reply with Quote
Hi,
I have dropped one computed column from my table and tried to recreate it with persisted option. it takes more than half an hour so i cancelled the query. the query cancellation is execution for more than 1 hour. and the query status is suspended.

what action needs to be taken?

thanks
subha

Bustaz Kool
Flowing Fount of Yak Knowledge

USA
1754 Posts

Posted - 06/13/2014 :  11:47:04  Show Profile  Reply with Quote
update Administrator
set Action = max(Patience)
where SchemaChange = 1
and Size >= Medium



Too often we enjoy the comfort of opinion without the discomfort of thought. - John F. Kennedy
Go to Top of Page

subhaoviya
Posting Yak Master

India
135 Posts

Posted - 06/13/2014 :  11:56:42  Show Profile  Reply with Quote
I am not having administrator table, can you please explain your response.

thanks
subha
Go to Top of Page

Bustaz Kool
Flowing Fount of Yak Knowledge

USA
1754 Posts

Posted - 06/16/2014 :  14:51:47  Show Profile  Reply with Quote
You need to be patient and the rollback will complete... The fact that the schema changed takes time. The fact that the database is fairly large takes time. The "Code" is just a (perhaps not very clever) joke saying that YOU, the administrator, need to maximize your patience when the rollback involves schema changes and the database is bigger than medium size.



Too often we enjoy the comfort of opinion without the discomfort of thought. - John F. Kennedy

Edited by - Bustaz Kool on 06/17/2014 12:15:48
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000