Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting data from SQL Server produces general field
Message
From
02/04/2009 13:19:08
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01392785
Message ID:
01392803
Views:
57
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>We're running simple sqlexec('select * from myTable', 'myCursor') command and the resulting field is a general field. How can we find out what is the field type in SQL Server and is there a way to get this field in other type?
>
VFP uses zero workarea as a template.
=CURSORSETPROP("MapVarchar",.T.,0),CURSORSETPROP("MapBinary",.T.,0)
>Also after we get this as a blob, how can we find out what type of the image was there?

simple:
1. store the original file's type into the MSSQL

better:
2. check the image header

>
>Thanks a lot in advance.
Previous
Reply
Map
View

Click here to load this message in the networking platform