In the following query I am converting a string to a number with the 'to_number' function:
select '1234567890',
to_number('1234567890','9999999999')
I created a template of 10 nines to define the largest possible length of the incoming field.
Is there a way to say 'all 9's' without having to type in the many '9's.
In my real case the incoming field is a NVARCHAR(30), so I am hesitant to type in thirty '9's'.
------------------------------
David Briars
------------------------------
#NetezzaPerformanceServer