Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Varchar with 0 length
Message
 
 
To
08/04/2011 14:11:40
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01506686
Message ID:
01506691
Views:
55
There're two possible workarounds
  • SQL 2000 ODBC driver but all new data types will not be available
  • CA with ADO
    >
    >Recently have been querying a SQL Server table that contains VARCHAR column types. I am using the SQLExec method to Select a subset of data. If the first row has an empty Varchar column, the resulting column is created with a zero length Character type. I have tried set the VARCHARMAPPING setting, but it did not alter the results. The routine that performs this operation is fairly generic and none of the columns are directly referenced, so forcing the column to be padded is the lowest of the options (?).
    >
    >Is there anyother options I may be overlooking? Any in the SQL options?
    --sb--
  • Previous
    Next
    Reply
    Map
    View

    Click here to load this message in the networking platform