Re: Problem while migrating data with Memo content from VFP to Oracle
From: Alan C. Sheffield (_at_)
Date: 09/02/04
- Next message: Bleakcabal: "eReports and Remote Views"
- Previous message: Eric Selje: "Re: Can this be done in VFP?"
- In reply to: Anand: "Problem while migrating data with Memo content from VFP to Oracle"
- Next in thread: Anand: "Re: Problem while migrating data with Memo content from VFP to Oracle"
- Reply: Anand: "Re: Problem while migrating data with Memo content from VFP to Oracle"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 2 Sep 2004 09:57:39 -0400
What data type are you using on the oracle side to hold the memo data?
What data type is VFP mapping that to when it creates the remote view?
I did a huge project moving data from VFP 6 to oracle a few years ago and
all fo my problems could be traced back to how the field data types were
setup.
Alan
"Anand" <anandrkashyab@hotmail.com> wrote in message
news:enr53FLkEHA.3456@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> I have written a tool to migrate tables from VFP 7.0 to Oracle 9.2.0.1.0.
>
> I do this with Oracle ODBC Driver 9.2.0.5.0.
>
> The tool will initially build "INSERT INTO" statements that execute in
> Oracle using SQLEXEC() in VFP and thus create the structures.
>
> For migrating the data, I open the empty table created in Oracle through
> Visual FoxPro using SQLEXEC() and set required properties to this remote
> view.
>
> I then issue 'APPEND FROM <<table name>>'. Here is where I get an error
on
> tables that have Memo fields in it.
>
> Again, this issue does not remain consistent with all tables with Memo
> fields.
>
> Some tables get migrated with Memo content while some don't.
>
> And the error message that Oracle throws to VFP also is not consistent.
>
> I get anyone of the following errors on a random basis.
>
> ORA-01747: Invalid user.table.column, table.column, or column
specification.
>
> ORA-24306: bad buffer for piece.
>
> ORA-24081: illegal parameter value in OCI lob function.
>
> Do you know how to fix this?
>
> Regards,
>
> Anand.
>
>
- Next message: Bleakcabal: "eReports and Remote Views"
- Previous message: Eric Selje: "Re: Can this be done in VFP?"
- In reply to: Anand: "Problem while migrating data with Memo content from VFP to Oracle"
- Next in thread: Anand: "Re: Problem while migrating data with Memo content from VFP to Oracle"
- Reply: Anand: "Re: Problem while migrating data with Memo content from VFP to Oracle"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|