Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toggling between test and production Oracle databases
Message
From
13/08/1999 06:59:50
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
To
12/08/1999 13:20:27
Paul De Niverville
Deniverville Econometric Research Ltd.
Victoria, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00248131
Message ID:
00253335
Views:
20
Thanks Paul

>Hi Rex,
>
>My Oracle dba has just set up my tables in the test database.
>
>I'll probably change my application logon screen to allow the switch between prodution and test databases later today or tomorrow.
>
>I have two entries in my tnsnames.ora, one for production, one for test.
>
>I have two system dsn defined in the ODBC administrator, one for production and one for test.
>
>I have one connection in my vfp database.
>
>I'll use dbsetprop to change the datasource from test to production.
>
>? DBsetPROP("connect_oracle", "connection", "datasource","test")
>
>? DBsetPROP("connect_oracle", "connection", "datasource","production")
>
>That's the plan. I'll let you know how it works.
>
>Paul
>
>
>
>>>I'm away from the office until next week. I'm going to be doing the same setup as you describe. I have a similar setup for an application in MS SQL Server.
>>>
>>>Let's talk next week.
>>>
>>>Paul
>>>
>>>>All,
>>>>
>>>>I have 2 Oracle databases, Test and Production. I want to be able to run my application on either transparently. If I edit the ODBC connection information, will this work? Seems to me there is/should be some way to make this work.
>>>>
>>>>Thanks
>>>>
>>>>Rex
Previous
Reply
Map
View

Click here to load this message in the networking platform