Difference between custom and seeded tables in oracle apps - plsqldeveloper

While working with oracle HRMS module I have came across many tabels like fnd_user, per_all_people_f etc...but I could not understand what are custom and seeded tables in oracle.
Can you please tell me the difference between seeded and custom tables in oracle apps alongwith examples?
Thanks in advance :)

Seeded tables are tables that contains initial data provided by the system. As an example the users table should contain at least an administrator for Oracle HRMS to be usable.
All the tables found in the documentation here would be seeded tables.
User-defined tables would be the opposite, any table that wasn't initially defined by the system but by users with enough privileges.

Related

How to find a speicifc entry in tables in a database mysql?

I have a database wordpress consisting a lot of tables. I am looking for a certain entry 20.22.31.44. What is the best way to return the table and column if this entry exists?
You can dump your database data (SQLDump) into a file and search through it's content.
You may also use a Database Management system (i.e. Workbench, PHPMyAdmin) to perform that global search for you. See related.

How to manage schema changes on many identical schema-based databases with mysql?

I'm developping a web platform to manage student registrations in schools of my region. For that I have 17 databases running on MySQL (5.7.19) where there is one which is the main database and the 16 others represent schools. Schools databases (must) have the exactly the same schema, each containing data corresponding to the associated school. I separated this way to avoid latency as each school can register many applications (16k on average), so the requests could get heavier over time.
Now I have a serious problem: when I change the schema of a school's database, I have to manually do it for those of other schools to keep the schema consistency because my sql requests are made independently of the school. For example, if i add a new field in table_b of database_school5, i have to manually do the same on table_b of all remaining databases.
What can I do to manage theses changes efficiently? Is there an automatic solution? Is there an adapted DBMS for this problem?
Somebody told me that PostgreSQL can achieve this easily with INHERITANCE, but this only concerns the tables, unless I've done some poor research.
I want every time I make a change to a database schema, whether it is adding a table, adding a field, removing a field, adding a constraint, etc., the changes are automatically transferred to the other databases.
Thanks in advance.
SELECT ... FROM information_schema.tables
WHERE schema_name LIKE 'database_school%'
AND table_name != 'the 17th table'
AND schema_name != 'database_school5' -- since they have already done it.
That will find the 16 names. What you put into ... is a CONCAT(...) to construct the ALTER TABLE ... statements.
Then you do one of these:
Plan A: Manually copy/paste those ALTERs into mysql commandline tool to perform them.
Plan B: Wrap all of it in a Stored Procedure that will loop through the results of the SELECT and prepare+execute each one.

Exadata - Query with join between 2 databases

In Exadata, I have two different databases.
Is it possible to perform a join between a table that is in database A, to a table that is in database B?
On the standard Oracle database engine, I know this is not possible except via a db-link but I have a doubt with Exadata... If anyone can give me any information !
DB Link is the way. Exadata is essentially a storage technology; so the fact that it's Exadata is irrelavant for this is question

sql 2008r2 can I copy a diagram from database to database and retain relationships

My objective is to get relationships from database A to database B. Please note I can not do a backup and restore, this is not an option.
These three sets of relationships are in three diagrams and having never copied a diagram from A to B before I was thinking that, if I did this the relationships may also come over. The copy went great, simply moving the records from a.sysDiagrams to b.sysDiagrams was easy.
But no relationships came across, damn. What is the best method to copy diagrams including the relationships from A to B?
A fair amount of time was put into creating these. We often want to move a set of tables from Database to database. Most of the time these are on different servers.
for completeness the comment made by Allan S is the answer to this post. I don't believe I can accept his comment since it was only a comment and not an answer?
I would be very interested to know if there is a way to copy a 2008 SQLServer diagram and include the relationships. I assume there is not.
There are so many option without backup-restore, you can script the diagrams to a .sql file...first check that diagrams list
-- List all database diagrams
SELECT * FROM [SourceDB].[dbo].sysdiagrams
Check similar question :
How to export a SQL Server 2008 Database Diagram to another DB?
Even via visual-Data tool you can :
https://technet.microsoft.com/en-us/library/ms175868%28v=sql.100%29.aspx
Updated
Check this link :
http://forums.asp.net/t/1790223.aspx?Making+ER+Diagram+from+SQL+Server+2008+Database
How do you migrate SQL Server Database Diagrams to another Database?
https://superuser.com/questions/578090/how-to-database-model-in-visio-2013
http://www.codeproject.com/Articles/15080/Script-SQL-Server-diagrams-to-a-file

What is the MySQL equivalent of a PostgreSQL 'schema'?

I have a PostgreSQL database whose tables are divided amongst a number of schemas. Each schema has a different set of access controls; for example, one schema might be read-only to regular users, while they are allowed to create tables on another. Schemas also act as namespaces, so users don't have to worry about duplicating existing tables when they create new ones.
I want to create a similar setup using MySQL. Does it have an equivalent concept? If not, how can I most closely simulate it? I would prefer not to use multiple databases.
Database should be the closest one.
Prefixing table names is what's done with most MySQL-driven apps.