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.

Empfohlene Antworten

Veröffentlicht

Hallo,

ich arbeite zur Zeit mit Oracle und suche nun eine Lösung um möglichst automatisiert nach jedem build meiner Software ca 30000 Datensätze aus einer Textdatei zu importieren.

Dafür bräuchte ich entweder ein Kommandozeilen Skript, Kommandozeilen Programm oder am besten einen fertigen ant task ;) .

Hat jemand eine komfortable Lösung?

Wie importiert ihr Daten die als insert Statements vorliegen?

Gruß Jaraz

Ich bastel im moment mit den Oracle Tools imp und exp rum, scheint auch zu klappen.

Habe leider nur Datenmüll durch Sonderzeichen. :-(

Gruß Jaraz

PS: weiß jemand wie ich alle constraints deaktivieren und wieder aktivieren kann?

hi,

mit den folgenden statements kannst du dir die sql-befehle für das ab- / anschalten der constraints generieren lassen. die generierten anweisungen kannst du in eine datei schreiben.

select 'alter table ' || owner || '.' || rtrim(table_name) , ' disable constraint ' || rtrim(constraint_name) || ';'

from all_constraints where status = 'ENABLED' 

and owner like 'OWNER%'

-- to get all fk-constraints:

--and constraint_type = 'R'

/

select 'alter table ' || owner || '.' || rtrim(table_name) , ' enable constraint ' || rtrim(constraint_name) || ';'

from all_constraints where status = 'DISABLED' 

and owner like 'OWNER%'

-- to get all fk-constraints:

--and constraint_type = 'R'

/
diese datei kannst du dann als parameter des sqlplus-aufrufes mitgeben, also:
sqlplus meine_datei.sql

hth...

  • 3 Wochen später...

Ach ja, die Statements sind genau das was ich gesucht habe.

Danke nochmal!

Muss das jetzt noch in einen ANT Task packen und gut ist!

Gruß Jaraz

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.