Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBCS data in dbf to SQL Server NVARCHAR
Message
From
04/03/2007 07:43:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
DBCS data in dbf to SQL Server NVARCHAR
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01200567
Message ID:
01200567
Views:
85
Hi,
I have data stored in dbf as DBCS. I want to migrate them to SQL Server NVARCHAR field. I tried code below but seem doesn't work.
lcmyfield = CREATEBINARY(STRCONV(myfield, 12))
SQLEXEC(1, "INSERT INTO myTable VALUES (CAST(?lcmyfield AS NVARCGAR(50)))")
Any ideas?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Next
Reply
Map
View

Click here to load this message in the networking platform