Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SqlBulkCop
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
SqlBulkCop
Divers
Thread ID:
01558579
Message ID:
01558579
Vues:
75
Hi.
When I use a standard Command,i can set ANSI_WARNINGS off
SqlCommand cmdExcel = new SqlCommand("SET ANSI_WARNINGS OFF", conn);
cmdExcel.ExecuteNonQuery();
and then if I am Updating any fields where data is too long for th field, the data is truncated.

I am using the SqlBulkCopy and am running up against similar issue but dont know how to use SET ANSI_WARNINGS OFF
Anybody know iof this can be done

TIA
Gerard
Répondre
Fil
Voir

Click here to load this message in the networking platform