What is the best way to import/export data between an SQL server and SAP?
You can use EXEC SQL to issue SQL to the SQL server. Once you have read the data, you can bring it into SAP using BAPIs, IDOCs or BDC. For Oracle databases, SAP suggest the procedure outline in OSS note 25383 - Database links, synonyms, remote DB.
This was first published in May 2002