c# - BulkCopy.WriteToServer error for Azure Table (clustered index related) -


in asp.net page i'm trying to....

  1. create temp datatable , fill data (this works)
  2. do bulkcopy columnmappings on columns destination table
  3. do bulkcopy.writetoserver temp datatable destination table

the destination table in azure db.

everything works until try writetoserver, @ time error:

"tables without clustered index not supported in version of sql server. please create clustered index , try again."

my temp table , azure destination table have pk. suggestions?

your table might have pk not have clustered index. make pk clustered.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -