Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

Export Oracle tables (or query) for import to SQL Server

$
0
0
This sounds very basic, but it's a hard problem. However, we are severely limited on what tools we can run in our environment, and there are additional constraints, the Oracle query produces 500+ columns of data and is saved as a valid RFC 4180 compliant CSV file. SQL Server Data Import tool, BCP, BULK INSERT, and SSIS cannot interpret RFC 4180 compliant CSVs with the following:1. Double-quoted text qualifiers (MSSQL just 'trims' them, does not recognize the actual text as a non-parsed token);2. Within quoted text, field separators (e.g., commas) are still parsed as field separators;3. Within quoted text, row separators (e.g., \r) are still parsed as row separators;4. Within quoted text, escaped double quotes are not unescaped.Finally, we cannot utilize network connections, we must perform file transfers. The one upside is that if there is a tool that we know, absolutely, is RFC 4180 compliant and can handle 500+ columns, and will import data into SQL Server, we can get it approved and use it. I'm at my end's whit finding this tool. Any help you can provide would be much appreciated.

Viewing all articles
Browse latest Browse all 6525

Trending Articles