Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nvarchar is incompatible with image - error in SQL serve
Message
 
À
19/09/2008 09:28:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01348891
Message ID:
01348895
Vues:
18
Hi Cetin,

Try this:
insert into dbA..tableA select CAST(CAST(nvarchar_field AS varchar) as image) from dbB..tableA
MartinaJ


>The error occurs with code like:
>
>
insert into dbA..tableA select * from dbB..tableA
>
>The structures are same and one of the fields is an image field (photo). It happens when photo has null (I understand that then it uses the default datatype varchar). Is there a solution to this other than listing all of the fields and casting?
>
>Note that this is an SQL server question, I posted on VFP forum thinking it has a wider audience.
>TIA
>
>Cetin
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform