eliza sahoo

eliza sahoo

  • NA
  • 41
  • 0

Run the existing SQL Script programmatically with SMO

Mar 25 2010 8:53 AM
SQL Server Management Objects (SMO) are objects designed for programmatic management of Microsoft SQL Server.
 
We can integrate SMO into any .NET based applications.
SMO is also compatible with SQL Server version 7.0, SQL Server 2000, and SQL Server 2005, which makes it easy to manage a multi-version environment.

Following code is used to run the Microsoft SQL Server Query files(script files) kept in
applications bin\Debug folder, with SMO.