-
Hallo Max,
es geht auch so:
with daten (text) as
(select 'Hugo 05' from sysibm/sysdummy1
union all
select 'HUGO/01' from sysibm/sysdummy1
union all
select 'HuGo 2010' from sysibm/sysdummy1
union all
select 'hugo 07' from sysibm/sysdummy1
union all
select '07 / Hugo' from sysibm/sysdummy1),
conv (text, nbr) as
(select text,
trim(translate(xor(text,
translate(text,x'00000000000000000000',
'0123456789')),
' ', x'00'))
from daten)
select * from conv
==>
TEXT NBR
Hugo 05 05
HUGO/01 01
HuGo 2010 2010
hugo 07 07
07 / Hugo 07
Similar Threads
-
By heynem in forum IBM i Hauptforum
Antworten: 9
Letzter Beitrag: 07-11-07, 12:53
-
By heynem in forum IBM i Hauptforum
Antworten: 3
Letzter Beitrag: 20-03-03, 10:15
-
By Matthias.Hayn in forum IBM i Hauptforum
Antworten: 7
Letzter Beitrag: 15-07-02, 08:03
-
By LaLeLi in forum IBM i Hauptforum
Antworten: 2
Letzter Beitrag: 19-06-02, 09:38
-
By Schnichels in forum IBM i Hauptforum
Antworten: 5
Letzter Beitrag: 18-04-02, 11:52
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- You may not post attachments
- You may not edit your posts
-
Foren-Regeln
|
Erweiterte Foren Suche
Google Foren Suche
Forum & Artikel Update eMail
AS/400 / IBM i
Server Expert Gruppen
Unternehmens IT
|
Kategorien online Artikel
- Big Data, Analytics, BI, MIS
- Cloud, Social Media, Devices
- DMS, Archivierung, Druck
- ERP + Add-ons, Business Software
- Hochverfügbarkeit
- Human Resources, Personal
- IBM Announcements
- IT-Karikaturen
- Leitartikel
- Load`n`go
- Messen, Veranstaltungen
- NEWSolutions Dossiers
- Programmierung
- Security
- Software Development + Change Mgmt.
- Solutions & Provider
- Speicher – Storage
- Strategische Berichte
- Systemmanagement
- Tools, Hot-Tips
Auf dem Laufenden bleiben
|
Bookmarks