HomeForum
Welcome, Guest

Deleting Records
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Deleting Records

Deleting Records 1 year, 1 month ago #2501

  • Adam
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
Support

I need to delete some records from my target that were brought over from my source.
What happens is that every so often, we have records that get deleted on the source (at some point after they have been transferred by VI to my target DB) and I need to update my target by deleting this record. Is there an easy way to do this without me having to create a temp table on my target DB?

This is the only way I can do this right now but it consumes a lot of resources since I’m basically bringing
all my records from source table and then querying for unmatched records and deleting them.

Thanks,
Adam

Re: Deleting Records 1 year, 1 month ago #2502

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2191
  • Karma: 12
What are the databases you are working with?

Peter

Re: Deleting Records 1 year, 1 month ago #2503

  • Adam
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
I am loading data from Foxpro into MySQL

Adam

Re: Deleting Records 1 year, 1 month ago #2504

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2191
  • Karma: 12
In this case provided that you have not packed the table yet

Can you try the following lease

1 Create new ODBC Foxpro DSN.
2 Tick Deleted box for it. (Options ->deleted).
3 In Vimp use select * from table where deleted() statement as your source , It will select only deleted records.
4 Select delete records as your transformation.

Peter
  • Page:
  • 1
Time to create page: 0.17 seconds

Testimonials

I just transferred 10,000,000 million records from the main SQL Anywhere database over the network into a Postgres database without a hitch.

Thank you
Thank you
Thank you

George…

!!!!! You guys rock!!!!!!!!

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top