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.

Interbase / Firebird: Fehler beim Erstellen einer Stored Procedure

Empfohlene Antworten

Veröffentlicht

Moin!

Ich versuch verzweifelt eine Stored Procedure in Firebird zu erstellen. Hier mal meine Zeilen:

CREATE PROCEDURE sp_funztdas

RETURN

AS

BEGIN

SELECT * FROM iname_00;

END;

Dies ist nur ein kleines Beispiel. Ich möchte weder Parameter übergeben, noch einen Wert zurückgeben. Es soll einfach nur eine SP erstellt werden.

Wenn ich die oben angegebenen Zeilen in der IBConsole starte, dann erscheint folgende Fehlermeldung:

Dynamic SQL Error

SQL error code = -104

Token unknown - line 1, char 30

return

Statement: create procedure sp_funztdas return

as

begin

select * from iname_00

end

Hab ich irgendeinen ganz einfachen Fehler gemacht? Oder wie? Oder Was?

Ach ja, ich habe es auch mal ohne RETURN versucht, hat aber nichts gebracht.

Danke im voraus für hilfreiche Antworten.

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.