Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
ptsopors
Starting Member
1 Post |
Posted - 2009-08-20 : 11:03:28
|
I am trying to create a setup with inno setup. I use the following code,SQLServer2005SP3-KB955706-x86-ENU.exe start /quiet SQLServer2005SP3-KB955706-x86-ENU.exe /qb ADDLOCAL=ALL INSTANCENAME=WinMirf SECURITYMODE=Default SQLCOLLATION="SQL_Latin1_General_CP1_CI_AI" SQLAUTOSTART=1 DISABLENETWORKPROTOCOLS=0//batch file to attach database sqlcmd -d master -E -Q "sp_attach_db @dbname = N'Bd_Demo', @filename1 = N'C:\database\Bd_Demo.mdf', @filename2 = N'C:\database\Bd_Demo_log.ldf';"quit the aim is that after installed the sqlserver, run batch file to do the attach the database. The problem is that I am not able to do the parameters are all correct.The problem is that I do not know if I am using the correct parameters for this purpose.Thanks for the help |
|
|
|
|