| От | Martín Marqués |
|---|---|
| Тема | CHAR to INT |
| Дата | |
| Msg-id | e73de96e0807120615n13a673e5tf2c933ab5178c0b8@mail.gmail.com обсуждение исходный текст |
| Ответы |
Re: CHAR to INT
|
| Список | pgsql-sql |
I'm trying to make a PL function to pass from an alphanumeric string to a numeric one changing the chars in the string to it's ORD (the inverse of the chr function) and I'm stumbling with two problems: 1) How to know if the CHAR is numeric or not. 2) If it's not numeric I want to get it's ord, but I can't find something like that in PG. Any ideas? -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера