Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nvarchar is incompatible with image - error in SQL server
Message
From
19/09/2008 09:28:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Nvarchar is incompatible with image - error in SQL server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01348891
Message ID:
01348891
Views:
78
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
Next
Reply
Map
View

Click here to load this message in the networking platform