Export To DBMS

Forum for DBF Commander discussing.

Export To DBMS

Postby mjkelly » Mon Oct 22, 2012 5:19 pm

I'm using 'export to DBMS' to export data directly into a SQL Server table. Is there a way to skip the deleted records (without doing a pack since I don't want them actually deleted from my .dbf file) when I use the 'export to DBMS' feature?

Thanks.
mjkelly
 
Posts: 3
Joined: Sun Oct 21, 2012 6:52 pm

Re: Export To DBMS

Postby Admin » Mon Oct 22, 2012 7:15 pm

Hi Mary Jane!
Yes, of course. There is the 'Skip deleted records' option in the Generate SQL Scripts window.
Best regards,
Oleg Zhechkov
User avatar
Admin
Site Admin
 
Posts: 124
Joined: Wed Apr 21, 2010 7:27 pm

Re: Export To DBMS

Postby mjkelly » Mon Oct 22, 2012 8:03 pm

But I'd like to be able to skip the deleted records using the 'export to DBMS' feature because of the imbedded appostrophes that I have in some of my string fields. But it doesn't look like I can skip the deleted records when using the 'export to DBMS', right, without doing a pack of the file?
mjkelly
 
Posts: 3
Joined: Sun Oct 21, 2012 6:52 pm

Re: Export To DBMS

Postby Admin » Mon Oct 22, 2012 8:37 pm

Oh, sorry :)
You are right, there are no such option in Export to DBMS dialog for now. But it looks like we'll add it in one of future versions of DBF Commander Pro.

Did you try 2 of other ways I've described by e-mail? Were they (or one of them) helpful for you?
Best regards,
Oleg Zhechkov
User avatar
Admin
Site Admin
 
Posts: 124
Joined: Wed Apr 21, 2010 7:27 pm

Re: Export To DBMS

Postby Support » Mon Oct 22, 2012 9:52 pm

Hi!
By the way, there is one more simple way.
Execute the SELECT query at first, e.g.:
Code: Select all
SELECT * FROM table1


then export the SQL query result data to server. The point is that deleted records do not participate in SELECT clause.
This allows you to load your data without source file change.
Feel free to ask a question - I'll try to help in anyway!
User avatar
Support
 
Posts: 31
Joined: Mon Feb 07, 2011 10:16 am

Re: Export To DBMS

Postby mjkelly » Mon Oct 22, 2012 10:00 pm

Great suggestion....I will try that. Thanks.
mjkelly
 
Posts: 3
Joined: Sun Oct 21, 2012 6:52 pm


Return to DBF Commander Professional

Who is online

Users browsing this forum: No registered users and 2 guests