[Migrated content. Thread originally posted on 07 May 2012]
I'm only able to connect to my Oracle database via:-Going control panel -> administrative tools -> ODBC data source manager; creating a DSN for Oracle XE
-Putting he following in the program:
exec sql CONNECT WITH PROMPT end-exec
-Once the program's running, a prompt appears; I select the aforementioned DSN.
-Then a prompt corresponding to that DSN appears; I type service name, user name, password.
Are there simpler ways for this? Something akin to a connection string? My main hope is to be able to skip the prompt for DSN and its creation, and maybe the prompt asking for password. I.e. ideally as soon as the program's running it connects right away with no need for user input.