Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UNIONing from a character and a memo field
Message
 
 
To
09/01/2003 00:39:10
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00739689
Message ID:
00739748
Views:
8
>I have a SQL doing a UNION. The first part of the SQL is including a Url field which is a memo field. The second part of the SQL takes its data from another table where the Url is a character field. Now, that one field has been changed to a memo field, this SQL doesn't work. How can I make this SQL works?

UNION in VFP8 has been enchanced so it can imlicitly convert field types to make SELECT's UNION-compatible. This works in VFP8.
Create Table c:\temp\table_memo ( mField m )
Create Table c:\temp\table_char ( cField c(50) )
Select mField As cResult ;
	From Table_Memo ;
Union ALL ;
Select cField ;
	From Table_Char
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform