Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stored procedure Size limit 1

Status
Not open for further replies.

zemp

Programmer
Jan 27, 2002
3,301
CA
I am creating stored procedures in Pervasice 2000i SP4 and I have one that returns all data froma table with lots of fields (49). I can enter the stored procedure as

Create Procedure...
Returns(...
As
Begin
Select * from table1;
end

When I click ok and then reopen the stored procedure only about three quarters of the returns clause is there and the rest is gone.

I am thinking that there is a size limit to the SQL in the stored procedure. If that is the case how would I create a stored procedure that return all fields. Thanks and Good Luck!

zemp
 
There isn't a size limit -- there is a limit in how much PCC can display on the screen.

To see all of your SP, execute this query in PCC:

Select XP$Misc FROM x$Proc WHERE xp$Name = 'MyStoredProcName'

Make sure that you execute it in text mode (not into the grid). You will get all of your SP displayed.
 
Thank you for the information and the SQL to check my stored procedure. Turns out it is all there. Thanks and Good Luck!

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top