Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo fields and SQL
Message
From
25/07/2006 15:02:23
 
 
To
25/07/2006 14:20:35
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01139846
Message ID:
01139893
Views:
9
>What I'm hoping I can come up with is something like
>
>Select codedesc as Name, memofield as Alias
> from codetable c
>where c.coddtype = "somegroup"
>
>and have 'Alias' be a character field, not a memo field
>

In VFP 9, use the CAST() function:

SELECT codedesc AS Name, CAST(memofield AS C(100)) AS Alias ...

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform