If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > Errors in the simplest procedures in Progress

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-28-10, 08:50
Indarija Indarija is offline
Registered User
 
Join Date: Dec 2010
Location: Leipzig (Germany)
Posts: 12
Question Errors in the simplest procedures in Progress

Hi,
I work with the Progress OpenEdge database (10.1C if I am correct). I use the program "OpenEdge Architect." It's all new to me. I've never worked with this database.

I could build a database connection and I have also created a few tables on the SQL Editor.

Now I want to do procedures, but it does not work. The simplest procedures is not accepted:
Code:
CREATE PROCEDURE Test01() 
BEGIN
    String message = 'Hello World'; 
END
Error:
[DataDirect]OpenEdge JDBC Driver][OpenEdge] Syntax error in SQL statement at or about "END" (10713)


I have found the following:

http://communities.progress.com/pcom...01c_readme.pdf
Quote:
When you create a Java trigger in the SQL editor, you must add an additional
space before the carriage return after each semicolon. Otherwise, a syntax error
may be displayed: 'syntax Error in SQL statement at or about "End". (10713)
Note: OE00163095 Type: Behavior Change
Database connections available for import/export only after clicking OK
It describes my problem. But is not the solution. I've tried it, but it did not work.

You may have another idea?
Reply With Quote
  #2 (permalink)  
Old 12-29-10, 02:38
Indarija Indarija is offline
Registered User
 
Join Date: Dec 2010
Location: Leipzig (Germany)
Posts: 12
Reply With Quote
  #3 (permalink)  
Old 01-20-11, 04:21
rurumisato1 rurumisato1 is offline
Registered User
 
Join Date: Jan 2011
Posts: 1
Quote:
Originally Posted by Indarija View Post
Thanks for sharing! It helped me solve my problem
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On