Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8704069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:00:19+00:00 2026-06-13T03:00:19+00:00

I am trying to create my first procedure on firebird 2.5 by using ibexpert

  • 0

I am trying to create my first procedure on firebird 2.5 by using ibexpert gui.

The procedure will return ‘PROCESS_DATE’ which belongs to a specific ‘PROCESS_ID’. I prepared following code:

begin
  OUTPUT_DATE = (select PROCESS_DATE from PROCESSES
                 where PROCESS_ID = INPUT_ID);
  suspend;
end

input parameter : ‘INPUT_ID’ –> type ‘INTEGER’
output parameter : ‘OUTPUT_DATE’ –> type ‘DATE’

But when I tried to compile it returns this error:

Column does not belong to referenced table.
Dynamic SQL Error.
SQL error code = -206.
Column unknown.
INPUT_ID.
At line 9, column 48.

I do not know how to deal with this error.

I tried to find solutions on other questions also the internet but i couldn’t find a basic, understandable answer for beginners. thanks for helps.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T03:00:21+00:00Added an answer on June 13, 2026 at 3:00 am

    Try this:

    CREATE PROCEDURE MyP (INPUT_ID INTEGER)
      RETURNS (OUTPUT_DATE DATE)
    AS 
    BEGIN
      FOR
        SELECT PROCESS_DATE FROM PROCESSES
        WHERE PROCESS_ID = :INPUT_ID  
        INTO :OUTPUT_DATE
      DO
        SUSPEND;
    END
    

    Always prepend parameter names with “:”. The only place where “:” is not allowed is at the left side of “=” operator.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create my first GUI application using (Java + Eclipse +
I am trying to create a procedure which will fill up the table until
I'm trying to create a Firebird database during runtime. The procedure that I'm using
I'm trying to create a simple threading procedure (granted this is my first attempt
I'm using opengl and trying to create a first person camera. All examples use
I'm just trying to create my first mysql stored procedure and I'm trying to
I'm trying to create my first AppWidget using the AlarmManager class so that I
I'm trying to create my first mysql stored procedure, but script doesn't work due
I am trying to create a sybase stored procedure which references a temp table,
I am trying to create a stored procedure using pass-through query in SQL Server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.