-
Hast du ein Beispiel eines Aufrufs, der nicht geht?
AS/400 SQL user-defined functions (UDF) concepts
Overloaded function names
Function names can be overloaded. Overloaded means that multiple functions, even in the same schema, can have the same name. Two functions cannot, however, have the same signature. A function signature is the qualified function name and the data types of all the function parameters in the order in that they are defined.
Function resolution
It is the function resolution algorithm that takes into account the facts of overloading and function path to choose the best fit for every function reference, whether it is a qualified or an unqualified reference. All functions, even built-in functions, are processed through the function selection algorithm. The function resolution algorithm does not take into account the type of a function. So a table function may be resolved to as the best fit function, even though the usage of the reference requires an scalar function, or vice versa.
-
Dann must du genau gucken, der Autocast klappt nicht. Das kann bei embedded SQL schon mal eher passieren.
hatte eine Datenart, die nicht auf die Datenart des für die Funktion
definierten Parameters hochgestuft werden kann
-
Ich hab jetzt die UDF mal gelöscht mit "drop function" und danach nochmal neu erstellt. Damit scheint das Problem nun behoben zu sein. Ein "create or replace function" hatte nicht geholfen.
Trotzdem verstehe ich nicht warum die UDF bei manchen Leuten funktioniert hat und bei manchen nicht.
Gruß,
KM
Similar Threads
-
By AS400.lehrling in forum Intern - Hilfe - Feedback - Tests-Forum
Antworten: 4
Letzter Beitrag: 20-10-15, 21:24
-
By XMan in forum NEWSboard Programmierung
Antworten: 10
Letzter Beitrag: 28-07-15, 22:41
-
By oulbrich in forum NEWSboard Programmierung
Antworten: 7
Letzter Beitrag: 23-03-15, 18:21
-
By oulbrich in forum IBM i Hauptforum
Antworten: 7
Letzter Beitrag: 14-07-14, 15:06
-
By Stefan_R in forum IBM i Hauptforum
Antworten: 4
Letzter Beitrag: 23-01-02, 17:08
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