Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLEXEC results
Message
From
22/06/2007 06:44:00
 
 
To
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:
01234931
Views:
11
>>>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?

Not because the SQL Engine declare the column with the worst case
Previous
Reply
Map
View

Click here to load this message in the networking platform