Bulk Load Files into SQL Azure?

Snowy picture Snowy · Jun 15, 2011 · Viewed 19.6k times · Source

I have an ASP.NET app that takes multimegabyte file uploads, writes them to disk, and later MSSQL 2008 loads them with BCP.

I would like to move the whole thing to Azure, but since there are no "files" for BCP, can anyone comment on how to get bulk data from an Azure app into SQL Azure?

I did see http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlbulkcopy.aspx but am not sure if that applies.

Thanks.

Answer

Jeffrey Rosselle picture Jeffrey Rosselle · Nov 18, 2013

BCP is one way to do it.

This post explains it in three easy steps: Bulk insert with Azure SQL