Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting the size for fields in select statement
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Setting the size for fields in select statement
Miscellaneous
Thread ID:
00649677
Message ID:
00649677
Views:
33
how can I set up the size for the concatenation of 2 fields within a select statement?

Example:

select transform(nvl(field1,"nothing")) + transform(nvl(field2,"either"))
from x

field1 and field2 are numerical. if the first row returns something like "123either", all the others will return 9 characters, if in one row i would have "nothing1234" i will actually get "nothing12". What can I do?

TIA

Alonso
Like Frank said: "I did it... MY WAY!"
Next
Reply
Map
View

Click here to load this message in the networking platform