Enterprise Manager Bug ? - Don't have a full stop in your MSSQL database name.

© copyright 29.May.2009 by Paul Bradley filed under Microsoft SQL Server


[Ad] need a break from coding?

Hoseasons Villas

A client sent me a copy of their Microsoft SQL Server database to do some work on, I am refactoring some of the tables to increase the overall database performance. After loading the database, I fired up Enterprise Manager to start reviewing certain tables, I always use the Open Table -> Query option so that I can see all the field names, and start running queries on different datasets.

However, all I got was *(All Columns) in place of the fields names, and could not retrieve any of the table column names. The table name was also suffixed with an underscore one (_1). This baffled me for a short while, until I noticed that the database name had a full stop (.) in the title, and figured this might be causing the display bug in Enterprise Manager.


After a quick rename of the production database to remove the full stop, enterprise manager started correctly displaying all the column names within the tables.


 


If you have found this article helpful or useful please consider linking to it, emailing it to friends, or share it with others using social sites like del.icio.us, Stumble Upon or Twitter.

Paul Bradley

About the Author
Paul Bradley is a VB.NET software developer living and working in Cumbria. He provides PHP & MySQL bespoke development services via his software development company, Carlisle Software Limited.
He has over 20 years programming experience.

Other Popular Articles

Categories & Topics

Home · Apache · JavaScript · Perl · PDF · PHP · MySQL · MSSQL · TAR · Ubuntu Linux · Video · Visual Basic

Browse the complete article history, and if you like what you see; consider subscribing to the rss feed.