Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IBM DB2 ODBC DRIVER and General Fields..
Message
 
 
To
02/10/2003 08:20:02
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00834187
Message ID:
00837831
Views:
28
I haven't worked with DB2, but the code you're using here would produce a memo with SQL Server. The blob type maps out to a memo field in many databases. Does this code work in VFP? According to the help file, the line to create the table should be:
create table gtest ( fieldname g).

Hope that helps.


>Hi,
>
>I am using IBM DB2 ODBC DRIVER to connect to DB2 UDB 8.1.
>I have created a table for example:
>
>CREATE TABLE Gtest( gen blob)
>
>When I try to access the table from foxpro I use:
>
>H=SQLCON()
>SQLEXEC(h,'select * from gtest')
>append blank
>brow
>
>The problem is that the blob type appears as a "memo" instead of as a "general" in the foxpro environment.
>
>Is there anything I can do about this?
Steve Howie, owner
DaSH Technology
Denver, CO
Previous
Reply
Map
View

Click here to load this message in the networking platform