Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nvarchar is incompatible with image - error in SQL server
Message
De
19/09/2008 09:28:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Nvarchar is incompatible with image - error in SQL server
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01348891
Message ID:
01348891
Vues:
79
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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform