|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Announcements
Chapters
Services
Feature Zones
|
Note: This is an unedited contribution. If this article is inappropriate,
needs attention or copies someone else's work without reference then please
Report This Article
IntroductionIn this article, I am introducing a small utility developed for the purpose of extracting schema from existing SQL Server database. The basic idea behind developing this utility is to emit the database schema from existing SQL Server database. From developer perspective it is sometimes very much handy to quickly take printout of database structure for creating UI layout or specify some validation rule. If database structure is available in printable format then it will serve the purpose robust programming and effective UI layout, because developer can establish spontaneity between database structure and UI elements. So now lets start exploring the utility in little depth. After extracting the binary distribution, you will find executable SchemaGenerator.exe. Start the utility from SchemaGenerator.exe. The first screen will be as follows:
The screen shown above ask the input for :
Now, Fill the Server/Instance name i.e. (local)\SQLEXPRESS.
Click, Generate to produce the report in printable format. Report will be rendered in preview, where one can see the generated schema output then print, if required. The print preview window output the database structure in printable format, review the format and print if seems accurate in format. I hope this will help some needful developer and avoid the duplication of efforts. “Happy computing” HistoryInitial revision 1.0 - May 20 2008. Description - Uploaded initial revision Revision 1.1 - June 04 2008. Description - Updated for new feature of using explicit username and password, in non trusted environment. (Requested by users). Revision 1.2 - June 05 2008. Description - Fixed the issue of printing reports from Print Preview dialog. (Requested by users).
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||