Research of Information Extraction from SQL Server Based on SQL-DMO
Wei Zheng, Ya Ping Wu, Yao Fei Chen · Advanced materials research · 2012
This article describes the SQL Server object model SQL-DMO. Through the object model all information of SQL Server's internal objects can be obtained, including databases, data tables, stored procedures and triggers and so on. Analysis the method of the object’s information extraction. Get the child object by analyzing the parent object’s collection property and get internal information by analyzing the object’s properties. A visual basic procedure is designed to achieve the table’s structure information for all user tables in specified SQL Server database. This method is more complete and simple than the method based on system table.