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.

SQL - Rechnen mit Uhrzeit

Empfohlene Antworten

Veröffentlicht

Hallo,

vielleicht kann mir jemand weiterhelfen:

Ich wüßte gerne, wie ein Statement aussehen müßte, um in einer DB-Tabelle

mittels SQL Uhrzeiten zu erhöhen.

(Beispiel:

In einer Tabelle "Kurs", die als Attribute "Kurs_Nr" und

"Beginn_Uhrzeit" hat, möchte ich bei allen Kursen die Uhrzeit so ändern,

dass sie eine Stunde ehr anfangen).

Würde mich freuen, wenn mir da jemand helfen kann. Im Internet konnte

ich nichts finden.

Viele Grüße und danke!

Ivy

update kurs set kurs_begin = kurs_begin - 0.042

Ich denke es gibt vielleicht noch ne bessere Loesung aber es funktioniert und es ist schon sooo kurz vor Feierabend ;)

Danke erstmal.

Ich habe da nur nochmal eine Frage zu: Wie kommst Du denn auf 0.042?

Viele Grüße

Könnte das vielleicht so gehen?

Update kurse

set beginn_uhrzeit = CONCAT(substring(to_char(begin_uhrzeit),1,2) + 1,

substring(to_char(begin_uhrzeit),3,3));

Oder habe ich da einen Denkfehler?

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.