Subject | Select from stored procedure error w/ DBW |
---|---|
Author | Rick Debay |
Post date | 2009-06-24T19:48:48Z |
Why would this query return the error:
'Dynamic SQL Error SQL error code = -607 Cannot SELECT RDB$DB_KEY from a
stored procedure.'
SELECT
*
FROM
STORED_PROCEDURE pf
WHERE
NOT EXISTS (
SELECT 1
FROM TABLE_HX hx
WHERE hx.N = pf.N
)
FWIW, I'm using Database Workbench Pro v3.3.0
Disclaimer: This message (including attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. RxStrategies, Inc. shall not be liable for the improper or incomplete transmission of the information contained in this communication or for any delay in its receipt or damage to your system. RxStrategies, Inc. does not guarantee that the integrity of this communication has been maintained nor that this communication is free from viruses, interceptions or interference.
'Dynamic SQL Error SQL error code = -607 Cannot SELECT RDB$DB_KEY from a
stored procedure.'
SELECT
*
FROM
STORED_PROCEDURE pf
WHERE
NOT EXISTS (
SELECT 1
FROM TABLE_HX hx
WHERE hx.N = pf.N
)
FWIW, I'm using Database Workbench Pro v3.3.0
Disclaimer: This message (including attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. RxStrategies, Inc. shall not be liable for the improper or incomplete transmission of the information contained in this communication or for any delay in its receipt or damage to your system. RxStrategies, Inc. does not guarantee that the integrity of this communication has been maintained nor that this communication is free from viruses, interceptions or interference.