Home » Open Source » Programming Interfaces » DOS script for adding an ODBC data source (Oracle 10+, Windows 7)
DOS script for adding an ODBC data source [message #575042] Fri, 18 January 2013 05:58 Go to next message
Nebulix
Messages: 5
Registered: August 2006
Location: Switzerland
Junior Member
Hi
Is there any way to create an ODBC data source with a DOS script? The target machine has Oracle client installed.
What I want is to avoid using the ODBC wizard.
Thanks a lot for any answer.
Andrei
Re: DOS script for adding an ODBC data source [message #575050 is a reply to message #575042] Fri, 18 January 2013 08:46 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
consider posting this question on a forum other than this one which is for Oracle questions; not questions related to Windows
Re: DOS script for adding an ODBC data source [message #575058 is a reply to message #575050] Fri, 18 January 2013 10:29 Go to previous messageGo to next message
ThomasG
Messages: 3211
Registered: April 2005
Location: Heilbronn, Germany
Senior Member
There is a tool to do it from the command line. Enter

odbcconf.exe /?


to see the usage summary.

There is a Microsoft Article here:

http://msdn.microsoft.com/en-us/library/windows/desktop/ee388579%28v=vs.85%29.aspx
Re: DOS script for adding an ODBC data source [message #575236 is a reply to message #575050] Mon, 21 January 2013 10:21 Go to previous messageGo to next message
Nebulix
Messages: 5
Registered: August 2006
Location: Switzerland
Junior Member
@BlackSwan
I see your point.
My purpose is to access an Oracle database thru ODBC. I don't know if there are Windows-based or Oracle-based solutions. If there is an Oracle based tool / method for creating ODBC data sources, then I'll be happy to be pointed at it by members of this community. I don't expect answers on Windows-based tools / methods, although I won't be sad about them either.

[Updated on: Mon, 21 January 2013 10:21]

Report message to a moderator

Re: DOS script for adding an ODBC data source [message #575238 is a reply to message #575058] Mon, 21 January 2013 10:22 Go to previous message
Nebulix
Messages: 5
Registered: August 2006
Location: Switzerland
Junior Member

Thanks a lot, ThomasG

[Updated on: Mon, 21 January 2013 10:30] by Moderator

Report message to a moderator

Previous Topic: Build DB structure based on SQL Statements
Next Topic: NVARCHAR2 to RAW Different behaviour SQL and PLSQL
Goto Forum:
  


Current Time: Thu Mar 28 16:31:42 CDT 2024