Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLEXEC results
Message
From
20/06/2007 13:04:16
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01234527
Message ID:
01234530
Views:
9
>>I am selecting firstname + ' ' + lastname from SQL using SQLEXEC. The result column on Fox side is a memo field. Can it be a "C" type?
>
>Try to limit the lenghth of the value returned.
>
>CAST(firstname + ' ' + lastname AS char(50))
>
Well, I am trimming both columns on SQL side:
select *, rtrim([first name]) + ' ' + rtrim([last name]) as fullname
still not good enough?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform