General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Appending one field only into another table sql statement
Can someone please check to see what is incorrect in the syntax of this statement? I am trying to append just the records of one field from a table into another table where the dates are the same in both tables and the records are inserted providing the names are the same in both tables.
Select tableA.field5 as fieldtotal ;
FROM tableA INNER JOIN tableB into cursor crsTemp ;
append from dbf('crsTemp') ;
ON tableA.namefield = tableB.namefield ;
WHERE tableA.datefield = tableB.datefield
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only