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 2008
»
SQL Server Newbies
»
Unable to access table in database diagrams....
Unable to access table in database diagrams. Receive message marked for deleation.
Rate Topic
Display Mode
Topic Options
Author
Message
LastJedi
LastJedi
Posted Wednesday, December 26, 2012 2:36 PM
Forum Newbie
Group: General Forum Members
Last Login: Monday, February 25, 2013 2:23 PM
Points: 7,
Visits: 17
Hi,
I am trying to access a table in the Database Diagrams however when I add it I get a message stating unable to access, marked for delation (pleae see attachment).
How can I access this table and restore it?
Thanks.
Post Attachments
Marked for deleation.GIF
(
3 views,
39.11 KB
)
Post #1400379
Sean Lange
Sean Lange
Posted Wednesday, December 26, 2012 2:42 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Yesterday @ 1:17 PM
Points: 8,641,
Visits: 8,273
Did you make changes to the table from the diagram tool? This can cause the table to need to be dropped and recreated behind the scenes. Sometimes the diagram tool will get confused because it really is not a good ddl tool. You can probably just restart SSMS and it should be ok.
Try googling "table is marked for deletion cannot be added" and you will find dozens of people with the same issue.
_______________________________________________________________
Need help? Help us help you.
Read the article at
http://www.sqlservercentral.com/articles/Best+Practices/61537/
for best practices on asking questions.
Need to split a string? Try Jeff Moden's
splitter
.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1400383
LastJedi
LastJedi
Posted Wednesday, December 26, 2012 2:57 PM
Forum Newbie
Group: General Forum Members
Last Login: Monday, February 25, 2013 2:23 PM
Points: 7,
Visits: 17
I may have clicked on delete tables from databases vs remove table from diagram.
I did rebooting SQL Server 2005 and it appears. I did research but I was afraid the table would actually get deleted.
Thanks.
Post #1400388
Sean Lange
Sean Lange
Posted Wednesday, December 26, 2012 3:00 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Yesterday @ 1:17 PM
Points: 8,641,
Visits: 8,273
LastJedi (12/26/2012)
I may have clicked on delete tables from databases vs remove table from diagram.
I did rebooting SQL Server 2005 and it appears. I did research but I was afraid the table would actually get deleted.
Thanks.
Well if you clicked on delete table from database....it gets deleted. The only way you are going to recover it is from a backup.
_______________________________________________________________
Need help? Help us help you.
Read the article at
http://www.sqlservercentral.com/articles/Best+Practices/61537/
for best practices on asking questions.
Need to split a string? Try Jeff Moden's
splitter
.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1400389
LastJedi
LastJedi
Posted Wednesday, December 26, 2012 3:12 PM
Forum Newbie
Group: General Forum Members
Last Login: Monday, February 25, 2013 2:23 PM
Points: 7,
Visits: 17
Weird it still appears I did click from the database diagrams section.
Post #1400393
Sean Lange
Sean Lange
Posted Wednesday, December 26, 2012 3:15 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Yesterday @ 1:17 PM
Points: 8,641,
Visits: 8,273
LastJedi (12/26/2012)
Weird it still appears I did click from the database diagrams section.
Then you probably just removed it from the diagram. When you restarted SSMS did it fix the issue?
_______________________________________________________________
Need help? Help us help you.
Read the article at
http://www.sqlservercentral.com/articles/Best+Practices/61537/
for best practices on asking questions.
Need to split a string? Try Jeff Moden's
splitter
.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1400394
LastJedi
LastJedi
Posted Wednesday, December 26, 2012 3:20 PM
Forum Newbie
Group: General Forum Members
Last Login: Monday, February 25, 2013 2:23 PM
Points: 7,
Visits: 17
Yes sir.
Thanks for your help.
Post #1400396
Sean Lange
Sean Lange
Posted Wednesday, December 26, 2012 3:28 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Yesterday @ 1:17 PM
Points: 8,641,
Visits: 8,273
No problem. Glad that worked for you.
_______________________________________________________________
Need help? Help us help you.
Read the article at
http://www.sqlservercentral.com/articles/Best+Practices/61537/
for best practices on asking questions.
Need to split a string? Try Jeff Moden's
splitter
.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1400398
« 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.