btlglobal
08-19-2005, 10:00 PM
This is what the install program should do ;
1. install MSDE.
A. When I install it manually, I use this command line; setup.exe SAPWD="sapasswd" DISABLENETWORKPROTOCOLS=0 SECURITYMODE=SQL
2. create a database
A. When I did this manually, I used these commands ;
i. <MSDE installation directory>/80/Tools/binn/osql.exe –E
ii. CREATE DATABASE DIREPO
iii. Go
iv. sp_addlogin 'userid','pw'
v. Go
vi. sp_defaultdb 'userid','DIREPO'
vii. Go
viii. use DIREPO
ix. Go
x. sp_grantdbaccess 'userid'
xi. Go
xii. GRANT CREATE TABLE To userid
xiii. Go
3. execute install sequence of my application.
I need an example to install MSDE and sending SQL statements to the MSDE. Can anyone please help me out?
1. install MSDE.
A. When I install it manually, I use this command line; setup.exe SAPWD="sapasswd" DISABLENETWORKPROTOCOLS=0 SECURITYMODE=SQL
2. create a database
A. When I did this manually, I used these commands ;
i. <MSDE installation directory>/80/Tools/binn/osql.exe –E
ii. CREATE DATABASE DIREPO
iii. Go
iv. sp_addlogin 'userid','pw'
v. Go
vi. sp_defaultdb 'userid','DIREPO'
vii. Go
viii. use DIREPO
ix. Go
x. sp_grantdbaccess 'userid'
xi. Go
xii. GRANT CREATE TABLE To userid
xiii. Go
3. execute install sequence of my application.
I need an example to install MSDE and sending SQL statements to the MSDE. Can anyone please help me out?