Odds are, it won't be able to execute everything in your script. For
example, it won't handle GO statements too well.
You should use SQLDMO to run the script instead, this will be like using
query analyzer.
"Luis Esteban Valencia" <le********@avansoft.com> wrote in message
news:eg****************@TK2MSFTNGP15.phx.gbl...
Hello. I want to create a sql server database with my asp.net program. It
will have a textbox for server , other for username and other for
password,
after it the program must execute a .sql file. Is that possible?