Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Varchar(max) isn't (truncating error)
Message
From
19/01/2023 14:51:56
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
01685864
Message ID:
01685868
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform