Convert DBF to SQL