UPDATE [TABLE] SET Refnum = (INT(FLOAT(TRefNo)))

You could also define this as a computed column using (INT(FLOAT(tRefno)))

Or you could create a view that would.  Do any operations using the view rather 
than the table.

If  you use a view, it will utilize less space because your table will have one 
less column.

All the best,

Randy Peterson
________________________________
From: [email protected] <[email protected]> on behalf of Dick Fey 
<[email protected]>
Sent: Wednesday, July 14, 2021 1:10 PM
To: RBase Maillist <[email protected]>
Subject: [RBASE-L] - Conversion

I have a table that holds download infomation including a refererence
no. that is text. (TRefnum)
Want to populate another column with the same info as Integer, doing all
rows in 1 pass. (Refnum)

Cannot figure out how to do that, other than row by row conversion.
HELP

Dick Fey

--
Carpet Broker Inc
P-913-894-9211
F-913-894-0138


--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/cb57e55c-1f40-788c-4d6a-2b676d1f791e%40carpetbroker.com.

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/SJ0PR11MB51177B5E9762E222496623DBC7129%40SJ0PR11MB5117.namprd11.prod.outlook.com.

Reply via email to