Dave Thayer wrote:
> On Mon, Aug 25, 2008 at 5:57 AM, Gérard Lochon <[EMAIL PROTECTED]> wrote:
> [...]
>> I don't remember how to create a new column containing an integer only using 
>> a select statement.
>>
>> i.e  : select space(4) as myfield,* from toto  && will create a add field, 
>> with four space chars.
>> what must i
>> select xxx, * from toto
>> to create an integer column ??
> 
> Jumping in late here, but this works in  VFP 9 and is standard SQL:
> 
> select cast( 0 as int) as xxx, * from toto
> 
> HTH
> 
> dt
> 


Yes, but he's using VFP6!



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to