Does merge work with dbf file

Forum for DBF Commander discussing.

Does merge work with dbf file

Postby kovvuri.keerthi2 » Fri Sep 28, 2012 6:03 pm

I created a table in dbf and trying to use the following syntax

MERGE <hint> INTO <table_name>
USING <table_view_or_query>
ON (<condition>)
WHEN MATCHED THEN <update_clause>
WHEN NOT MATCHED THEN <insert_clause>;

my question is does this syntax work in dbf, i am getting following error unrecognized command verb

Thanks,
Keerthi.
kovvuri.keerthi2
 
Posts: 4
Joined: Fri Sep 28, 2012 5:06 pm

Re: Does merge work with dbf file

Postby Admin » Fri Sep 28, 2012 6:34 pm

This syntax is not a SQL, thats why it doesn't work.

But you can easily merge two of DBF files with SELECT SQL statement. E.g.:
Code: Select all
SELECT * FROM customer AS t1, orders AS t2  WHERE t1.cust_id = t2.cust_id


More information on using the SELECT SQL statement you can find here:
http://dbf-software.com/sql-select.html
Best regards,
Oleg Zhechkov
User avatar
Admin
Site Admin
 
Posts: 124
Joined: Wed Apr 21, 2010 7:27 pm

Re: Does merge work with dbf file

Postby kovvuri.keerthi2 » Fri Sep 28, 2012 6:43 pm

thank you
kovvuri.keerthi2
 
Posts: 4
Joined: Fri Sep 28, 2012 5:06 pm


Return to DBF Commander Professional

Who is online

Users browsing this forum: No registered users and 5 guests

cron