Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Varchar(max) isn't (truncating error)
Message
De
19/01/2023 14:51:56
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
01685864
Message ID:
01685868
Vues:
24
derp. sorry - I'm doing a Parameters.AddWithValue("@FileData", fnrdata)
fnrdata is defined as a string

So, I'm guessing it's going as a string...?
Should I be taking the time to define it as a dbType VarChar?


>>Field in Table is a varbinary(max)
>>
>>And I'm calling it with a .ExecuteNonQuery
>>
>
>Great :-)
>But HOW did you define parameters to ExecuteNonQuery?
>You always can use SQL Profiler to check what is sent to the backend from you application.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform