Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-- If your i2b2MetaData schema cant read i2b2Data schema
-- grant select on "&&DataSchemaName"."PATIENT_DIMENSION" to "&&schemaName";
create synonym PATIENT_DIMENSION for "&&DataSchemaName"."PATIENT_DIMENSION";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly a dumb Oracle question... where is &&DataSchemaName defined?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the script run through Oracle SQLDevloper pops up a window and ask to define each variable.



create or replace PROCEDURE pat_count_visits (metadataTable IN VARCHAR, schemaName IN VARCHAR,
errorMsg OUT VARCHAR)
IS
Expand Down Expand Up @@ -133,4 +138,4 @@ execute immediate 'insert into totalnum(c_fullname, agg_date, agg_count, typefla

EXECUTE IMMEDIATE 'drop table ontPatVisitDims';

END;
END;