Design of database schemas
Hi allI have a design of database with different areas. The database contains information of program/project with tables as a person, organization, program contracts, financing, cost program, program Budget, program Milestone, won contract value etc..,.
It is a model of corporate data, we want to keep common tables as a person, org etc in a pattern called so when other schemas want access to information they get of the commune, which is the right approach?
Also I would put how arrays of othe in patterns, will that go into a common schema or multiple schemas?
Any suggestions on the conventions of name for tables, as well as the patterns will also be very useful.
Thanks for your time and your help.
use schema tables & unique to the third normal form design
Tags: Database
Similar Questions
-
Hi all
I am new to learn oracle database design. Please can someone give me the steps or the procedure that we can easily to design the new database oracle. ?
Kind regards
SamuraiAre you referring to the design of physical database (implemented disk layout, the locations of files etc.) or logical database design (schema, table structures, index, etc.)?
Based on your requirement, the answer will change.
But in simple terms, it would be better if you could take a course in local universities or colleges that have database THE program design. It is not possible to summarize the design of database in a few lines.
-
How to choose a database schema to use for a file of sequence?
I have several database schemas on my TestStand system, and when I select a movie file that I need to position the schema for the results entered into the database correctly.
I use a SequenceFileCallback for DatabaseOptions in my file of sequence and in that, I set Parameters.DatabaseOptions.DatabaseSchema.Name = 'xyz', where xyz is the name of database schema to be used. It does not, and it reports an error that it cannot be loaded or the file is maybe damaged. This feature works, or should I just a mistake in what I put this equal to?Evan... It turns out that your last point: 'Make sure you use quotation marks around the name of schema, no simple markings as in your message.', has solved the problem. Funny it did not report a single error with the brands. Thanks for the quick response! PLF
-
APEX 5.0
Cloud Computing service for the Oracle database schema
I'm in the middle of do a proof of concept. Basically, I need an application with security of the stored data, UI, user, data loading, and able to post data via an external web service said. It seems that with the database schema Oracle cloud service, it is not possible to use web service references that are not in the field.
If I try to use a service via http reference, I get:
ORA-20987: APEX - the requested URL was forbidden. Contact your administrator. -Contact your administrator of the application.
If I try to use the same reference service via https, I get:
ORA-29273: HTTP request failed
ORA-06512: at & quot; SYS. UTL_HTTP & quot; line 1130
ORA-29259: end-of-input reached
I read somewhere that cloud services only https can be used. Is this true?
And then I read somewhere to use the protocol https, the portfolio must be configured to store certificates, etc. However, I read somewhere else that the portfolio cannot be configured because there is no access to the instance database with the Oracle Cloud Computing database schema service. Is this true?
If both are true, how can I make a call to post data to an external web service? Or do I need to use a different Cloud Computing service? Or do I need my own instance of Oracle DB?
Any help would be great. Thank you!
It turns out there was a problem with the remote rest service. After successfully calling a rest service that was created using SQL Workshop, I tried different remote rest services and they all work. Sorry for the confusion. I thought it was very strange that the schema of database service wouldn't be able to do it easily.
-
Professional Hello, etc. of users experienced Apex.
I am currently using the oracle database schema cloud service, which is related to my extension service java saas.
I have a requirement to send reports to certain accounts of e-mail per day. Hence the need to use the CLOUD_SCHEDULER API, APEX_EMAIL API and a custom "Get_REPORT"... return blob function to convert the sql result set to CSV file to be attached to e-mails.
1 function GET_REPORT returns the BLOB as the query results set CSV file. Autonomous œuvres
2. I created the 'SENDEMAIL' procedure that accepts the responsibility of the sender and receivers email address, subject and a BLOB (GET_REPORT) to be attached to the email. And sends APEX_MAIL. PUSH_QUEUE. : This method works stand-alone.
3. I created the "ScheduleCSVToEMAIL" procedure that accepts the e-mail to, from, cc, tablefiltertext, tablename: this procedure combines 1 and 2 as below...
SQL_TEXT := 'SELECT * FROM '||TABLE_NAME||' WHERE ' || SQL_FILTER ||''; REPORT := GET_REPORT(SQL_TEXT); SENDENDVI_MAIL2(TO_ADDR,COMMA_CC, FROM_ADDR, EM_TITLE,EM_TITLE,null,null,REPORT,null);
above works fine when run standalone.
4. I created CLOUD_SCHEDULER PROGRAMS as below
BEGIN CLOUD_SCHEDULER.CREATE_PROGRAM( program_name => 'emailtest1', program_action => 'SENDENDVI_MAIL3', program_type => 'STORED_PROCEDURE', number_of_arguments=>10, enabled =>false ); CLOUD_SCHEDULER.DEFINE_PROGRAM_ARGUMENT( program_name => 'emailtest1', argument_position=>1, argument_type=>'VARCHAR2', DEFAULT_VALUE=>'[email protected]' ); CLOUD_SCHEDULER.DEFINE_PROGRAM_ARGUMENT( program_name => 'emailtest1', argument_position=>2, argument_type=>'VARCHAR2', DEFAULT_VALUE=>'[email protected]' ); CLOUD_SCHEDULER.DEFINE_PROGRAM_ARGUMENT( program_name => 'emailtest1', argument_position=>3, argument_type=>'VARCHAR2', DEFAULT_VALUE=>'[email protected]' ); CLOUD_SCHEDULER.DEFINE_PROGRAM_ARGUMENT( program_name => 'emailtest1', argument_position=>4, argument_type=>'VARCHAR2', DEFAULT_VALUE=>SYSDATE||'_ENDVI_VH_INSURANCE' ); CLOUD_SCHEDULER.DEFINE_PROGRAM_ARGUMENT( program_name => 'emailtest1', argument_position=>5, argument_type=>'VARCHAR2', DEFAULT_VALUE=>null ); CLOUD_SCHEDULER.DEFINE_PROGRAM_ARGUMENT( program_name => 'emailtest1', argument_position=>6, argument_type=>'VARCHAR2', DEFAULT_VALUE=>null ); CLOUD_SCHEDULER.DEFINE_PROGRAM_ARGUMENT( program_name => 'emailtest1', argument_position=>7, argument_type=>'VARCHAR2', DEFAULT_VALUE=>null ); CLOUD_SCHEDULER.DEFINE_PROGRAM_ARGUMENT( program_name => 'emailtest1', argument_position=>8, argument_type=>'VARCHAR2', DEFAULT_VALUE=>null ); CLOUD_SCHEDULER.DEFINE_PROGRAM_ARGUMENT( program_name => 'emailtest1', argument_position=>9, argument_type=>'VARCHAR2', DEFAULT_VALUE=>'G_EMAIL_VH_INSURANCE_INFO' ); CLOUD_SCHEDULER.DEFINE_PROGRAM_ARGUMENT( program_name => 'emailtest1', argument_position=>10, argument_type=>'VARCHAR2', DEFAULT_VALUE=>null ); CLOUD_SCHEDULER.ENABLE('emailtest1'); END;
and
BEGIN CLOUD_SCHEDULER.CREATE_JOB('emailtestrun1', program_name=>'emailtest1'); CLOUD_SCHEDULER.SET_JOB_ARGUMENT_VALUE('emailtestrun1',1,'[email protected]'); CLOUD_SCHEDULER.SET_JOB_ARGUMENT_VALUE('emailtestrun1',2,'[email protected]'); CLOUD_SCHEDULER.SET_JOB_ARGUMENT_VALUE('emailtestrun1',3,'[email protected]'); CLOUD_SCHEDULER.SET_JOB_ARGUMENT_VALUE('emailtestrun1',4,SYSTIMESTAMP||'_ENDVI_VH_INSURANCE'); CLOUD_SCHEDULER.SET_JOB_ARGUMENT_VALUE('emailtestrun1',5,SYSTIMESTAMP||'_ENDVI_VH_INSURANCE'); CLOUD_SCHEDULER.SET_JOB_ARGUMENT_VALUE('emailtestrun1',6,NULL); CLOUD_SCHEDULER.SET_JOB_ARGUMENT_VALUE('emailtestrun1',7,NULL); CLOUD_SCHEDULER.SET_JOB_ARGUMENT_VALUE('emailtestrun1',8,NULL); CLOUD_SCHEDULER.SET_JOB_ARGUMENT_VALUE('emailtestrun1',9,'G_EMAIL_VH_INSURANCE_INFO'); CLOUD_SCHEDULER.SET_JOB_ARGUMENT_VALUE('emailtestrun1',10,NULL); CLOUD_SCHEDULER.ENABLE('emailtestrun1'); END;
Above, executed but it obviously it didn't, I asked the table "USER_SCHEDULER_JOB_RUN_DETAILS" and I got the reason of failure below.
ORA-20001: This procedure must be invoked from within an application session. ORA-06512: at "APEX_040200.WWV_FLOW_MAIL", line 339 ORA-06512: at "APEX_040200.WWV_FLOW_MAIL_API", line 97 ORA-06512: at "F1ZKNWJD2RE1.SENDENDVI_MAIL3",line 56
Please help what I do to get my work requirement.
Note: I already tried to use the Scheduler in the format below, who gave the same result
BEGIN CLOUD_SCHEDULER.create_job ( job_name => 'ENDVI_AUT_EM_ROCKET', job_type => 'PLSQL_BLOCK', job_action => 'BEGIN SCHEDULE_CSV_EMAIL(''G_EMAIL_VHROCKETDETAILS'',''[email protected]'',''[email protected]'',''[email protected],[email protected]'',NULL,SYSTIMESTAMP||''_TEST SCHEDULE_CSV_EMAIL'',NULL,NULL,NULL); END;', repeat_interval => 'FREQ=MINUTELY; INTERVAL=3;', enabled => TRUE); CLOUD_SCHEDULER.set_attribute ( name => 'ENDVI_AUT_EM_VH_INSURANCE', attribute => 'max_runs', value => 20); CLOUD_SCHEDULER.enable(name => 'ENDVI_AUT_EM_VH_INSURANCE'); END
Right answer
Hi oladslw,
You must perform an additional step before calling the API APEX_MAIL outside an Application Express application. Two ways to achieve this are described in the APEX_MAIL documentation (see first Note) and in the APEX_UTIL documentation. Another way is:
for c1 in ( select workspace_id from apex_workspace_schemas where workspace_name = sys_context( 'userenv', 'current_schema' ) and rownum = 1 ) loop apex_util.set_security_group_id( p_security_group_id => c1.workspace_id ); end loop;
The code above retrieves your workspace_id of the dictionary of the current schema-based APEX of (your), then sets the security context of APEX. After that, you will be able to call APEX_MAIL in a same database session.
Thank you
Vlad
-
Empty database schema field JDeveloper 12.1.3 create an entity dialog object
Hi all
I use JDeveloper 12.1.3:
Oracle JDeveloper 12 c 12.1.3.0.0
Studio Edition Version 12.1.3.0.0
Build JDEVADF_12.1.3.0.0_GENERIC_140521.1008.S
The IDE version: 12.1.3.0.41.140521.1008
Product ID: oracle.jdeveloper
Product version: 12.1.3.0.41.140521.1008
Version of the component
========= =======
Oracle IDE 12.1.3.0.41.140521.1008
Java (TM) Platform 1.7.0_51
Support versioning 12.1.3.0.41.140521.1008
And I fell on the bug where when trying to create a new schema of database object entity come white as if he had no defined data source:
I checked against JDeveloper 12.1.2 and everything seems to work fine. I get the list of all available in the database schemas. Has anyone came across this bug?
Oracle JDeveloper 12 c 12.1.2.0.0
Studio Edition Version 12.1.2.0.0
Build JDEVADF_12.1.2.0.0_GENERIC_130608.2330.6668
The IDE version: 12.1.2.0.40.66.68
Product ID: oracle.jdeveloper
Product version: 12.1.2.0.40.66.68
Version of the component
========= =======
Oracle IDE 12.1.2.0.40.66.68
Java (TM) Platform 1.7.0_15
Thank you
Vladimir
Apparently, this behavior has changed. There is nothing in the notes of publication on this subject.
I guess the way it worked in 12.1.2 was wrong as you shouldn't have access to objects without property rights.
Timo
-
JCA database adapter issue because of the dependence of database schema
Hello
I use the database JCA adapter to call a stored procedure. The adapter uses the schema of database name while calling the stored procedure. The schema name is added to the namespace XSD, wsdl files.
If I have to use a different database schema name, how can I change the code without a lot of change.
Thank you!You can change this property in the JCA file
-
import from 9i to 10g database schema
Hello
We export dump of 9i database schema and now I want to import into the database 10g.
May I know what is the proper method to do so.
What all things are required to take care of.
I know that we can use only 'imp' to import.
Please let me know...
Kind regards
MilanROUGIER in MILAN wrote:
HelloWe export dump of 9i database schema and now I want to import into the database 10g.
May I know what is the proper method to do so.
What all things are required to take care of.
I know that we can use only 'imp' to import.
Please let me know...
Kind regards
Milan
If you import a single schema, you could just start importing and then correct errors (even back the schema and re - import).
In any case, this document is more than enough:
http://www.orafaq.com/wiki/Import_Export_FAQ
Just a suggestion: use the buffer parameter when importing:
IMP BUFFER = 10000000...
Concerning
Grosbois
-
Design of database for a helper.
Hello does anyone know
Design of database for a helper.
ERD
Features and business rules
?The best way to approach a design of database is to write a specification for the application. The document, which deals with the assistance of technicians will do. In the process of determining what pieces of information, they work with. When you have written complete specification, you can start then group the items of information they work with. For example, a ticket can have a number, status, priority, and a person who is associated with. The person to which is entrusted the ticket will have a name, phone number, email address and a list of technical skills.
So in this simplified example excessively, we might have a table that contains the information of the ticket, a table that contains information about the technicians and an array of skills. Then ask free questions as "a ticket can be handled by more than one technician?" "A technician can manage more than one ticket? Can a technician cause several skills? "In this way, you can begin to see relationships on a one-to-one, one-to-many and many-to-many that exist.
-
How to find a table, using the name of the column in the database schema
Dear all,
Please help me on
using the name of the column, how to find a table name in the database schema.
Thanks in advanceHello
You can query the data dictionary views all_tab_columns and user_tab_columns.
For example, to find the tables in the scott schema have called deptno columns:SELECT table_name FROM all_tab_columns WHERE owner = 'SCOTT' AND column_name = 'DEPTNO';
Remember that anything inside quotes is case-sensitive.
The all_tab_columns view has one row for each column in each table (or view) that you have the privileges to use.
The user_tab_columns view is a subset of all_tab_columns, containing only your own tables (and views). -
Unifying database schema structure 15.1
Hi allGreetings!
I have a silly question. Do we have a schema structure to unify 15.1, as we have for P6 EPPM in the media of documents folder in the folder mapping and schema > > schema Docs > > xml file & eppm_html, that shows us the table names, field lengths, dependencies, and primary and foreign keys?
I saw some downside however mapping and integration purposes is not very useful, because we need to navigate tables in PDF format. You have a schema structure and dependency table based on the web?
Thank you
Bala Ganesh K
Due to the fact that the unifying database structure changes depending on how you design unifying, we do not have a general structure of schemas and tables available.
You can see this document for more information on the elements of Out-of-the-box in the unifying database:
http://docs.Oracle.com/CD/E59489_01/English/Mapping_and_Schema/Reference_Guide.PDF
In addition, you can access the ER seen in the unifying workspace Company, which provide information about the tables that are available to you in the database. Please see the KM article that describes how to access and use views ER:
Development and troubleshooting queries without Direct access to the database of the unifier ( Doc ID 2023285.1 )
-
Database schema error - 2147467259
Hello community,
Using 32-bit Teststand 2014.
When executing my movie file, a digital step in my sequence failed.
After the failure of step, accordingly, my sequence stops the test and run cleaning.
I'm then prompted with the error message, see image attached, when Teststand save my data in the database.
I opened my database SQL and noticed that all the previous steps "Spent" have been registered in the database fine but the step failed has never been registered.
My scheme is configured to record the steps Passed and Failed.
I solved my problem.
I had the STEP_RESULT measured value starting from the game as a float of patterns of treatment results, but the step which has not led to a NAN value.
I changed the value to a string in order to manage the numbers and strings.
-
Pools of multiple connections with different s the same database schema
Hello team,
I have a requirement where in a single multiple schema s database are here. A schema contains old data and another schema contains data of this year. I must get in the RPD.
A lot of tables in the schema, so before I start working I have a question, can we have several s schema with the pool of connections for each under a single database? If Yes, I would be grateful if someone can keep an image of him how he appears in the RPD. I use 11.1.1.6. Thanks in advance.
Thank you
SR
I have a requirement where in a single multiple schema s database are here. A schema contains old data and another schema contains data of this year. I must get in the RPD.
A lot of tables in the schema, so before I start working I have a question, can we have several s schema with the pool of connections for each under a single database? If Yes, I would be grateful if someone can keep an image of him how he appears in the RPD. I use 11.1.1.6. Thanks in advance.
Create a database user has access SELECT through patterns. Then, use a Pool of single login with this user id and check the box to fully qualify table names, so that when the SQL generated it precede patterns correctly. You can create patterns according to the needs, and it will work fine.
-
Can a database instance cause several database schemas?
Since coming from SQL Server I have red the concept of the Forum and got a little confused with the instance, schema, tablespace concept.
If I get it up to now, Oracle has several layers.
Database instances are as independent SQL servers started from the Oracle server.
Each database instance can contain different data bases. OR a database is not owned by a histance, the mountain just a (confused about this)
Each database can have different storage spaces.
I created this pixture comparison, something like that?
http://img191.imageshack.us/img191/7639/jv3z.jpg
- a single instance can open a database only
- on the other hand, a database can be opened by multiple instances on different servers in a clustered (RAC) environment
- a database can have mutiple patterns (that's what SS called "database")
- Each schema has objects that reside in one or more storage space (a single object is always 1 tablespace)
- A tablespace is just a logical container
- A tablespace is composed of one or more data files.
-------------------------
Sybrand Bakker
Senior Oracle DBA -
User IMP in a different database schema
Scenario of
=====
Oracle 9i Enterprise Edition (9.2.0.8)
Windows Server 2003 (32-bit)
--- to ---
Oracle 11g Enterprise Edition (11.2.0.3)
Windows Server 2008 R2 Standard (64-bit)
Hi all
I'm doing an upgrade from 9i to 11g and I use native imp/exp to migrate these data... I exported 9i patterns in a dmp file and I'm goiing to export in 11g. Database 11g is a new database with any of the existing patterns...
My newbie question is "should I manually create these schema exact 11g and their tables before importing data? If so, there are many diagrams and objects to create... one by one... This is the tedious problem that I face...
Is there a work around that? Thank you.Hello
Exp/imp old creates no users unless you do a 'full' export (10 g impdp/expdp will do that for exports of level diagram). You need to first create all users if you exported from a list of schemas. Is it possible to export as "comprehensive"?Kind regards
Rich
Maybe you are looking for
-
Photos does not show 30 pictures, says that it's scanning when the laptop is in charge.
200 pictures, Miss me about 50 since the upgrade to Sierra. Said it analysis 90 Photos and will do the rest, when it is plugged into the charge Jack, but nothing happens. Any ideas?
-
Remote Earpod malfunctioning?
I just got earpods last week and finally had time to open yesterday. At first, they seemed to work fine, but then they started to randomly pause and play music volume control without me touching even the remote control. They are great if I sit comple
-
problem of data flow in the case structures (using a state machine)
Good day everyone. I'm having a problem with the flow of data between the structures of the case. I try to use an example of a state machine for this simple problem. but when I try to send data of a box structure to change the State of the code. It w
-
Infinite accuracy of data ToolTips in the Interactive execution window
First - three bugs a day... You see, data seems ToolTips accuracy limited only by screensize, a good reason to buy a bigger screen
-
busy street and trips but does not
settle down, looks like it is, it shows everywhere, but when you go to start-programs-Street and the TRIPS Agreement, it begins to show who's tripsover and configing streets and then stops, but does not executeand starts, also install will never ask