Announcement

Collapse
No announcement yet.

User Defined Function (UDF): Prüfen, ob vorhanden

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • User Defined Function (UDF): Prüfen, ob vorhanden

    Hallo allerseits,

    mit
    Code:
    CREATE FUNCTION ...
    kann ich in einem Data Dictionary User Defined Functions erstellen.
    Wie kann ich herausbekommen, ob es bereits eine Funktion innerhalb eines Data Dictionary gibt?

    Uli

  • #2
    if exists (select * from system.functions where name='bla' and package='blubb') then
    alter function blubb.bla( ...)
    ...
    else
    create function blubb.bla(...)
    ...
    end if;

    Comment


    • #3
      Hallo Joachim,

      vielen Dank für die einfache Lösung!

      Uli

      Comment

      Working...
      X