answersLogoWhite

0


Best Answer

df

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is an unsafe query and Give an example and explain why it is important to disallow such queries?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Law

What is an unsafe query Give an example and explain why it is important to disallow such queries?

A query in which the output is possibly infinite. This most often occurs in queries which are recursive or which contain negation. Such queries are disallowed by many database management systems to prevent unsafe queries.


Code rule of dbms to rdbms?

Codd's twelve rules are a set of thirteen rules (numbered zero to twelve) proposed by Edgar F. Codd, a pioneer of the relational model fordatabases, designed to define what is required from a database management system in order for it to be considered relational, i.e., a relational database management system (RDBMS).[1][2] They are sometimes jokingly referred to as "Codd's Twelve Commandments".The relational DBMS model is based on the relational algebra devised by E.F.CODD.The relational algebra by Codd is done through 12 rules popularly known as CODD's 12 Rules.(1)Information Rule:All information in a relational database including table names column names arerepresented explicitly by values in tables.Knowledge of only one language is necessary toaccess all data such as description of the table and attribute definitions integrityconstraints action to be taken when constraints are voilated and security information.(2)Guaranted Access Rule:Every pieceof data in the relational database can be accessed by using acombination of a table name a primary key value that identifies the row and a columnthat identifies the cell.The benefit of this is that user productivity is improvedsince there is no need to resort to using physical pointers addresses.Providesdata independence.(3)Systematic treatment of Nulls Rule:The RDBMS handles that have unknown on inapplicable values in a predefined fashion.RDBMS distinguishes between zeros blanks and nulls in records and handles such values ina consistent manner that produces correct answers comparisions and calculations.(4)Active On-Line Catalog Based on the Relational Model.THe description of a database and its contents are database tables and thereforecan be queries online via the data language.The DBA's productivity is improved sincechanges and additionsto the catalog can be done with the same commands that areused to access any other table.All queries and reports can be done as with other tables.(5)Comprehensive Data Sublanguage Rule:A RDBMS may support several languages but atleast one of them allows the user to do allof the following:define tables view query and update data set integrity constraintsset authorization and define transactions.(6)View Updating Rule:Any view that is theoretically updatable if changes can be made to the tables thateffect the desired changes in the view.Data consistency is ensured since changesin the underlying tables are transmittedto the view they support.Logical dataindependence reduces maintenance cost.(7)High Level Inserts Update and Delete:THe RDBMS supports insertion updation and deletion at a table level.With this theRDBMS can improveperformance by optimizing the path to be taken to execute the actionEase of use improved since commands act on set of records.(8)Physical data Independence :The execution of adhoc requests and application programs is not affected by changesin the physical data access and storage methods.Database administrators can makethe changes to physical acccess and storage methods which improve performancebut do not changes in the application programs or adhoc requests.This reducesmaintenance costs.(9)Logical data Independence:Logical changes in tables and view such asadding/deleting columns or changingfield lenghts do not necessitate modifications in application programs or in theformat of adhoc requests.(10)Integrity Independance:Like table/view definitions integrity constraints are atored in theon-line catalog and therefore can be changed without necessitating changesin application programs or in the format of adhoc requests .The following two integrity constraints must be supported.(a)Entity Integrity:No component of primary key is allowed to have anull value.(b)Referential integrity:For each distinct non-null foreign key value in a relationaldatabasethere must exist a matching primary key from the same range of data value.(11)Distribution Independence:Application programs and adhoc requests are not affected by changesin the distribution of the physical data.(12)Nonsubversion Rule:If the RDBMS has a language change that accesses the informationof a record at a time this language cannot be used to by-pass theintegrity constraints.Inoreder to adhere to this rule the RDBMS must have anactive catalog that containsthe constraints must have a logical data independence.


Where can one find an attorney for a medical malpractice lawsuit?

To find a medical malpractice attorney you may want to search for your city or state online. You will want a lawyer who is credible and who is near you that you will be able to have a face to face consultation with you about your case. Also, many lawyers will not charge you a fee unless you win your case. Do your research and look up any reviews or complaints about the lawyer.


Related questions

What is an unsafe query Give an example and explain why it is important to disallow such queries?

A query in which the output is possibly infinite. This most often occurs in queries which are recursive or which contain negation. Such queries are disallowed by many database management systems to prevent unsafe queries.


What are the advantages of using SQL rather than the Query Wizard?

The query wizard can only do a limited set of types of queries. There are some kinds of queries that it cannot create. Some kinds of queries can only be done in SQL. Union queries and data definition queries for example. It is more complicated to do queries in SQL, but you can do more powerful ones. The query wizard is just for simple queries or for getting a basic query which you can then enhance using the design grid or SQL.


What is a codgers queries called?

A codger's queries would simply be called codger's queries.


What is queries?

Query is a statement which user gives in database.


Does Google queries keywords have to be capitalized?

No. Queries do not need to be capitalized.


Delete queries are often run after queries have added those same records to history tables?

No, Delete queries are ran before the queries which adds the data to history table. This is to avoid duplicacy.


Queries questions can be made using this type of software?

Queries are done in a database.


Who discovered My SQL queries?

SQL King Ramachandran is father of MySQL Queries.


What criteria are important in choosing a file organization?

file volatility, file activity, file size, file queries, data currency


Explain in detail the laws of mechanics?

The laws of mechanics are far too complex and detailed to explain here. The study or explanation of any subject is not a matter for Answers.com. Should you have a specific question about any subject we can try to answer it for you, but such broad and encompassing queries are not the purpose of this website


Do queries store data?

No. Only your tables store data. Queries, Forms, Reports and Pages can just do things like display the data and manipulate it but, the data is always stored in the tables. When you run a query, open a report or a form, the data you see is ultimately coming from underlying tables. You can do queries on queries, or reports on queries or forms on queries but the original data always comes from the tables.


Why is it important for a company to have an Email Management system?

It is important for a company to have an Email Management system to allow them to respond to customer queries faster, prevent backlogs of unanswered emails and satisfy customers.