Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oracle package body doesn't execute embedded files #31

Open
jccady opened this issue Feb 10, 2019 · 1 comment
Open

oracle package body doesn't execute embedded files #31

jccady opened this issue Feb 10, 2019 · 1 comment

Comments

@jccady
Copy link

jccady commented Feb 10, 2019

I have a package specification and then a package body. The package body is built current by executing the file in sqlplus which will use the package body as file references allowing for each procedure of the package to be kept in a distinct file. Compile fails because body for pkg after update is the literal file including the @proc1.sql.

Have I missed something that would allow me to build my packages in this manner?


  • directory contents
    • spec.pks
    • body.pkb
    • proc1.sql
    • proc2.sql
create or replace package body pkg
as
    @proc1.sql
    @proc2.sql
end pkg;
/

┆Issue is synchronized with this Jira Bug by Unito

@Barathwaja
Copy link

Hey @jccady , wild guess can u rename ur .pks or .pkb to .sql and run ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants