You are here: Delete 2005 [user] schema? « MsSQL Server « IT news, forums, messages
Delete 2005 [user] schema?

Posted by Will on 07/19/06 19:59

TITLE: Microsoft SQL Server Management Studio


The database principal owns a schema in the database, and cannot be
dropped. (Microsoft SQL Server, Error: 15138)

I have an installer that is supposed to "clean up" the DB server before
an install. The installer checks for like object names and attempts to
clean house. All this is done via WMI objects. I have not been able to
find how to do this particular task with WMI - delete user schemas
prior to deleting users. Using management studio is easy and gets me
around the issue for testing but I need to do it programticaly - the
equilvilant of DROP SCHEMA [name]. Thanks!

-Will

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация