SQL Server 2008 R2 Express, .Net Framework 4.0, Visual Studio 2010
I'm trying to execute a SQL script from a command prompt application. I found a sample
code and trying to implement the same. But the following using statements are not recognized.
using Microsoft.SqlServer.Management.Common;
using Microsoft.SqlServer.Management.Smo;
Am I missing any assembly reference ?