Hello,
In versions of Pervasive.SQL prior to release V8, the PCC restricted the amount of characters that you could view for a stored procedure to 300. This limit has been increased to 980 in Pervasive.SQL V8.
If you need to edit a stored procedure, but you cannot see the portions beyond 300 characters, here is a work-around.
In SQL Data Manger, execute the following statement
Select * from "X$Proc"
(X$Proc is the system table that stores procedures.)
Click on the TextResults tab and copy the statement.
Paste the statement into SQL Data Manager Query Pane.
Edit the statement.
Then, either drop the existing procedure (Drop Procedure <procedure Name> ) and recreate it with the same name from the edited procedure, or change the procedure name of the edited procedure and create a procedure with a new name.
Regards,
Tim Meiers
Pervasive Technical Publications
Quote:
Originally posted by darlok
I'm trying to create a procedure. It's not very long (about 40 lines) and the syntax is OK. I can save it without any problems. But when I open it I see that the procedures last few lines are missing. I can't save them. When I delete some spacing and remove some fields from my SELECT, then it saves a bit more but still not all of it.
In HELP file it says the limit is 64kb but this procedure is not even 1kb long. Should I modify configuration file? And how?
|