Reference

Endpoint Read CSV file


Name

read_csv_file

Description

Reads the contents of a CSV file straight into a result set, without requiring a download to disk.

Parameters

Parameter Required Options
Name: FilePath

Label: File path or ID

YES

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.
If the column you are looking for is missing, consider customizing Dropbox Connector.

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.

Examples

SSIS

Use Dropbox Connector in API Source or in API Destination SSIS Data Flow components to read or write data.

API Source

API Source - Dropbox
Read / write Dropbox data inside your app; perform many Dropbox operations without coding, just use easy to use high performance API Connector for Dropbox
Dropbox
Read CSV file
Required Parameters
File path or ID Fill-in the parameter...
SSIS API Source - Read from table or endpoint

API Destination

API Destination - Dropbox
Read / write Dropbox data inside your app; perform many Dropbox operations without coding, just use easy to use high performance API Connector for Dropbox
Dropbox
Read CSV file
Required Parameters
File path or ID Fill-in the parameter...
SSIS API Destination - Access table or endpoint

ODBC application

Use these SQL queries in your ODBC application data source:

Read a CSV file by ID

SELECT * FROM read_csv_file
WITH (FilePath='id:ZirXxxxxxxxAAAAAAAAABw')

Read a CSV file by path

SELECT * FROM read_csv_file
WITH (FilePath='/myfolder/customers.csv')

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Read a CSV file by ID

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM read_csv_file
WITH (FilePath=''id:ZirXxxxxxxxAAAAAAAAABw'')';

EXEC (@MyQuery) AT [LS_TO_DROPBOX_IN_GATEWAY];

Read a CSV file by path

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM read_csv_file
WITH (FilePath=''/myfolder/customers.csv'')';

EXEC (@MyQuery) AT [LS_TO_DROPBOX_IN_GATEWAY];