If your database is in the SIMPLE recovery mode then no there's no way to get the schema for the view back.
If your database is in FULL or BULK LOGGED recovery mode then you can use Quest's LiteSpeed or Lumigent's Log Explorer (I think Red Gate has a log reader product as well) to find the transaction and roll back the transaction.
If you have a database backup which has the correct schema of the view in it, you can use Quest's LiteSpeed to restore just the schema for that view from the database backup.
If you don't have any of those products, but you have a backup of the database, restore the backup to another server (or the same server, but with a different database name) and get the correct schema for the view from there.
Last Wiki Answer Submitted: October 15, 2009 3:15 am by MParman65 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.