Old 18th February 2007, 09:56   #1
internetfreakz
Junior Member
 
Join Date: Feb 2007
Posts: 11
Problem to run sql script in for Oracle Db

Hellow,

I will run some sql scripts to put data in my oracle database.

I found this solution:
http://forums.winamp.com/showthread....40#post1279740

I use this command to run sqlplus: nsExec::Exec '$0 $2/$3@$1 @$4 '

The values:
$0 "$oradir\BIN\sqlplusw.exe"
$1 = "XE"
$2 = "gpr"
$3 = "gpr"
$4 "$INSTDIR\sql\opvullen_tab.sql"

When I run the nsExec:Exec command, Sqlplus ask me to connect (give up a username, password and hostname). Can I skip that and run the sql command directly?

Is it also posible to run a commando so I can create a user before I run the other sql scripts?
internetfreakz is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump