|
Hi Convert the numeric field to character using SQL function DIGITS in order to do any string operation on it. Example Select Substr(Digits(X, 1, 2) from Table1 Shahid HI All, Does anyone know how to substring a numeric field or a date field in SQL? I am trying to use century and year to order by, on that same SQL statement.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.