What is the Difference between
1) ER MODEL and Relational Model
2) Dense Index and Sparse Index
Answer / vin
1. ER MODEL vs Relational Model?
Entity Relationships
• The entity in entity relationships is a person, place or thing. On the most basic level, entity relationships are comprised of two entities, both a type. For example, consider ordering two people. Both are labeled as an entity type "Person." A "worker-manager" relationship, called "works-for," exists between the two entities where one person is categorized as "worker" and the other as "boss." The "works-for" qualifier defines the relationship between the two entities.
Relational Relationships
• Relational relationships are deeply reliant on predicate logic and a finite set of data. They provide a means for a user to declare a method for querying information from a database and rely on the database management system to retrieve the information. For example, if a log-in "James" is entered into a database management system as a predicate, the system would retrieve the relevant information in the database, such as "Last Name" or "Address."
Differences in Links
• One of the cardinal differences between relational relationships and entity relationships has to do with the explicitness and implicitness of their relationships. In entity relationships, the link is explicitly stated. Person A "works for" Person B. In the relational model, the links are implicit with the database. "James" is linked to "Last Name" and "Address" without a stated linkage.
Differences in Semantic Relationships
• Because of its implicitness, in relational relationships any data table has relation and there is very little meaning or semantics to be derived from what the relation is or should be. With entity relationships, the semantics are identified by the relationship type. In this way, it is much easier to understand the meaning of relationships in entity relationships than relational relationships.
Source: http://www.ehow.com
Is This Answer Correct ? | 1 Yes | 0 No |
Can we store pictures in the database and if so, how it can be done?
1. what is a single procedure? 2. suppose a view constructed on a query... after that in the master table a column was dropped, then what will be the status of that view? will it be invalid or something else? 3. what is mutating table error? how can you solve that problem? 4. suppose "select * from emp where empno=7788;" is running slow because of what ever the cause it is.. how can you fix it and make the execution faster? 5. will the snapshot of data will be stored in the RAM , where will ir be stored exactly. 6. how to delete 100 tables or 100000 tables' data from the schema without writing delete statement for no.of times. write an sql statement to do that job. 7. suppose a package contains so many cursors, procedures and all.. and we are using such types of procedures so many in a program. so the execution is to be stored all those packages and all to the RAM. utimately it is using many resources for each time execution. how can you reduce the time and using of resources for each execution because the query need to be run many times. how can you tune that? 8. suppose a procudere is there with specs as (a,b,c,d), all of these are IN mode only then while calling them should we pass all the 4 arguments? how to pass (b,c) only.. how ever the specs are wrote in the same order displayed in the above? 9. a function is returning a table type, how to access that function in a select statement? 10. i have a table in database A and another table in database B, how can you access the data of these two tables? write a query for that with dblinks. 11. i have two tables might have 15/20 columns in that.. i wanna send these columns(table) to the front end application for example you are using asp.net by writing a procedure. write that to perform the above job. 12. shall we create a table in the package? 13. shall we create a table in the procedure? 14. suppose i have 10 records, in that i want to select 7th record. write a query for that. cant you use rownum for this? 15. suppose my procedure has got around 20 select statements, in that some three select statements are running very slow. what will you write to detect which queries are running slowly? 16. what fields you use frequently in plan_table? 17. what is pipeline function? explain me with an example. 18. does a unique column can contain more than one null? 19. how many hints are there provided by oracle?
sql command 2 know current database
What is a nvl function?
Write a trigger example in oracle?
How to select some rows from a table in oracle?
I am using an Oracle 8i Database my data contains Clob data. I am using toad version 7.6 i am able to get the data in toad but unable to extract the data in excel.when trying to extract the data into the excel the toad error says out of memory. Can any body please help me to extract the data through the same toad version. Thanks in advance
How to drop an index in oracle?
can we insert any row to dual table if i got the permission from DBA
What are privileges and grants?
Table Has C1 And C2 Column If Exits any record in c1 then Update c2 record Otherwise insert new record in the C1 And C2 (Using Procedure)
Is rowid unique in oracle?