Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Anil Sharma
  Where is Anil Sharma?
 ludhiana
 India
 Anil Sharma
 To: MENDEL TOLIBAS
  Where is MENDEL TOLIBAS?
 makati
 Philippines
 MENDEL TOLIBAS
 Tags
Subject: RE: Update Oracle Database
Thread ID: 203154 Message ID: 203156 # Views: 33 # Ratings: 0
Version: Visual FoxPro 7 Category: ODBC, ADO and OLEDB
Date: Wednesday, November 12, 2008 9:10:28 AM         
   


> Good day!!!
> Need Help, We're planning to migrate our data oracle I got this command in connecting to oracle database
>
> lcString='Driver={Microsoft ODBC for Oracle};Server=el;Uid=master;
> Pwd=master;'
> lnHandle=SQLSTRINGCONNECT(lcString)
>
> = SQLEXEC(lnHandle, 'SELECT * FROM employees order by firstname', 'MyCursor')
>
> browse
>
> How can I update the employee table , using our old database to oracle database
> thank you so much!!!


     lcString='Driver={Microsoft ODBC for Oracle};Server=el;Uid=master; 
     Pwd=master;'
     lnHandle=SQLSTRINGCONNECT(lcString)
 
USE VFPTABLE AGAIN SHARE IN 0

SELECT VFPTABLE
SCAN
      = SQLEXEC(lnHandle, "INSERT INTO employees (FIELD1,FIELD2) VALUES(?VFPTABLE.FEILD1,?VFPTABLE.FIELD2)" )

ENDSCAN





Anil
My Blog



COMPLETE THREAD
Update Oracle Database Posted by MENDEL TOLIBAS @ 11/12/2008 9:03:31 AM
RE: Update Oracle Database Posted by Anil Sharma @ 11/12/2008 9:10:28 AM
RE: Update Oracle Database Posted by MENDEL TOLIBAS @ 11/14/2008 4:52:00 AM
RE: Update Oracle Database Posted by Stefan Wuebbe @ 11/14/2008 5:41:18 AM
RE: Update Oracle Database Posted by Anil Sharma @ 11/14/2008 6:24:35 AM
RE: Update Oracle Database Posted by tushar @ 11/12/2008 9:25:37 AM