Temporary Tables and retrieval stored procs

Posts   
 
    
zephyrs
User
Posts: 18
Joined: 30-Oct-2004
# Posted on: 04-Mar-2005 17:54:20   

Hi

Is it true that LLBL "retrieval" stored procedures can only be created from stored procedures selecting from a physical table?

I have had problems with LLBL recognising SPs as retrieval procedures when the final select in the SP is from an sqlserver 200 temporary #table.

Any ideas?

Thanks Mark

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 04-Mar-2005 20:42:25   

That's an issue with sqlserver. You should go into the catalog explorer, look up the procedure, click open the procedure node and browse to the #0 node. Select it, click with the Right mouse button on it and select the context menu option to change the value. Change it to 1 or 2. After that you'll be able to add the procedure as a retrieval procedure.

Frans Bouma | Lead developer LLBLGen Pro
zephyrs
User
Posts: 18
Joined: 30-Oct-2004
# Posted on: 05-Mar-2005 09:48:51   

Thanks very much for your help (again!)

Mark

Tuffs
User
Posts: 1
Joined: 24-Jun-2005
# Posted on: 24-Jun-2005 11:30:28   

Thanks very much Frans.. sunglasses