Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Frage zum Data-Dictionary (ORACLE)

Empfohlene Antworten

Veröffentlicht

Ich muss im Rahmen eines Praktikums folgende Aufgabe lösen... .

"Geben Sie alle Prozeduren, Funktionen und Trigger aus, die unter Ihrerer Kennung gespeichert sind. Schreiben Sie dazu SELECT-Anweisungen an das Data-Dictionary, mit denen der Name, der Typ und der Source-Code Ihrer PL/-SQL-Objekte ausgegeben wird."

Hier nun mein Lösungsversuch...


-- TRIGGER

SELECT trigger_name, trigger_type, trigger_body

FROM all_triggers;


-- PROZEDUREN & FUNKTIONEN


SELECT OBJECT_NAME 

FROM user_procedures;

... oder gibt es da für die Prozeduren und Funktionen noch eine andere Tabelle, die man da anzapfen muss.

Viele Grüße

vplus

ja, z.b. mit

select * from <user|dba|all>_objects where object_type in ('FUNCTION', 'PROCEDURE', 'PACKAGE', 'TRIGGER')

und nachdem ich grad gesehen habe, dass du den PL/SQL-source ebenfalls brauchst:

die view all_source ist dein freund.

s'Amstel

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.