On Mon, 25 Aug 2008 13:57:43 +0200, Gérard Lochon <[EMAIL PROTECTED]> wrote:

>Hello guys.
>
>My mind is out my brain today, so i don't scope a simple solution for a simple 
>problem :
>
>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 ??

create cursor TMP_AUX01 (INT_FIELD I)
append blank

select TMP_AUX01.INT_FIELD, toto.* from toto, TMP_AUX01

USE in TMP_AUX01

HTH

-- 
Gianni


_______________________________________________
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