In my product we are using OSQL to execute the sql script files. Unfortunatly some clients don't have OSQL installed in their machine. They don't agree to install sql management studio for license issues.
Is there any alternative to execute the sql scripts rather than OSQL through c# ?
SQLCMD.... that should be installed by a standard SQL Server installation I believeSQLCMDincluded. Your clients must haveSQLCMDsomewhere. I don't think you can just distributeSQLCMDwith your own applications.