code_junkie

How to import a DBF file in SQL Server

Nov 10th, 2011
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. SELECT * into SomeTable
  2. FROM OPENROWSET('MSDASQL', 'Driver=Microsoft Visual FoxPro Driver;
  3. SourceDB=\SomeServerSomePath;
  4. SourceType=DBF',
  5. 'SELECT * FROM SomeDBF')
Add Comment
Please, Sign In to add comment