Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with implicit conversion
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01331477
Message ID:
01331490
Vues:
12
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I'm getting this error "Implicit conversion from data type varchar to varbinary(max) is not allowed. Use the CONVERT function to run this query."
>
>One of the parameters in my SP is varbinary(max). In my tests I don't declare this parameter. In the SP declaration I have
>@DefaultPicture varbinary(max) = NULL,
>
>Do you know what can I do to fix this problem?
>
>Thanks in advance.

How you CREATE this SP and how you call it?
If you didn't use Named parameters you should call it like this:
EXEC MySp Firstparameter, DEFAULT, Third Parameter 
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform