answersLogoWhite

0

📱

Database Programming

Databases are collections of tables that maintain and display information, often collaboratively; this information can be used for interaction with an application or gaining general knowledge. Questions about database engines and modifying or using them belong in this category.

8,803 Questions

List six major steps that you would take in setting up a database for a particular?

1. Requirement Analysis

2. Conceptual Data Base Design

3. Logical Data Base Design

4. Schema Refinement

5. Physical Data Base Design

6. Security Design

Can you create a program using SQL?

No you can't. SQL is not a programming language, so it doesn't create programs. It is a query language, and it creates queries. There is a difference. There are various things that programming languages have and that they can do, which would take a more detailed explanation to define. SQL is very limited in what it can do, being specifically designed to work with data and manipulate databases. It does not have the capabilities of a programming language. A query and a program are both a list of commands to do a task, but a program is far more extensive and can do far more things, and so it is very different to a query.

Advantages and disadvantages of External database?

Dis Advantages: Security may be compromised without good controls, Extra hardware may be required, System is likely to be complex Advantages: Reduced data redundancy, Secured data, Integrated data, Controlled data inconsistency

How a primary key is fixed in a sql table?

A primary key field in a sql table is created using the PRIMARY KEY keyword. ex:

CREATE TABLE tbl_employee (

emp_num VARCHAR(10),

emp_name VARCHAR(100),

PRIMARY KEY (emp_num))

The above script creates a table called tbl_employee and sets the emp_num field as the primary key

What are the task performed by Database management system?

1. it helps each application program to be executed in a sequence.

2. it requests the operating systems to execute an input operation.

3. it provides status information to the application program.

4. It processes data.

- RIYA G.

What is the difference between greedy algorithm and Divide and Conquer?

greedy method does not give best solution always.but divide and conquer gives the best optimal solution only(for example:quick sort is the best sort).greedy method gives feasible solutions,they need not be optimal at all.divide and conquer and dynamic programming are techniques.

How the databases organized?

Databases organize information into records, each of which represents a single unit of information

In transaction management how do you match a transaction to an order?

Search a selected transaction, then search and select the order, then click the match to transaction button to match a transaction to an order.

Data validation best refers to?

Data Validation is a process that ensures that data entered into the database form, a web form, or a computer program conforms to the correct data type.

What in normal forms in DBMS?

Normalization is the process of efficiently organizing data in a database. There are two goals of the normalization process: eliminating redundant data (for example, storing the same data in more than one table) and ensuring data dependencies make sense (only storing related data in a table). Both of these are worthy goals as they reduce the amount of space a database consumes and ensure that data is logically stored.

Difference between data warehouse and OLTP?

A data warehouse differs from OLTP in that the former handles many large and complex queries regarding various rows of a table while the latter retrieves data from single rows. At the same time, a data warehouse is not real time and supports few users at a time compared to OLTP that can support many concurrent users.

What is data manipulation language in rdbms?

Data Manipulation Language (DML) statements are used for managing data within schema objects. Some examples:

  • SELECT - retrieve data from the a database
  • INSERT - insert data into a table
  • UPDATE - updates existing data within a table
  • DELETE - deletes all records from a table, the space for the records remain
  • MERGE - UPSERT operation (insert or update)
  • CALL - call a PL/SQL or Java subprogram
  • EXPLAIN PLAN - explain access path to data
  • LOCK TABLE - control concurrency

What are features of transaction processing system?

- Rapid Processing

- Reliability

- Standardisation

- Controlled Access

Where can you purchase reliable US Database?

Well last week I purchase Florida U.S database in Highleads.com and so far I'm happy with what i bought from them. They have different databases you can choose from and they accept paypal as a way of payment. I hope this will help you.

Reference http://www.highleads.com

What are the five main types of validation checks?

types of validations are: required field validation range validation pattern matching validation database specific validation numeric validation

Identify two limitations of physical models?

One limitation of a physical model is that a model of a human body may look like a human body, but does not act/work like a human body does.

( sorry only found one limitation )

What is the different between a view and a create view?

View is a virtual table that do not have any data of its own but have data that is derived from another table called base table. Create view is the command used to create a view (virtual table).

How do you change the length of a column in SQL?

The column definitions of a table can be modified using the ALTER TABLE command.

ALTER TABLE employee
MODIFY emp_name varchar2(100) not null;

This command makes the emp_name as a not null column and a alpha numeric column of 100 characeter width

Characteristics of relations in relational database model?

No Duplicate Tuples - A relation cannot contain two or more tuples which have the same values for all the attributes. i.e., In any relation, every row is unique.

• Tuples are unordered - The order of rows in a relation is immaterial.

• Attributes are unordered - The order of columns in a relation is immaterial.

• Attribute Values are Atomic - Each tuple contains exactly one value for each attribute.

It may be noted that many of the properties of relations follow the fact that the body of a relation is a mathematical set.

What is mean by strong entity?

A strong entity is any powerful force or presence, whether it is meant to mean some sort of deity, a high power such as a government or a business, or even an individual or group, etc.

What is DBA regarding database?

The DBA for a database is the Database Administrator. The DBA's roles are to manage the installation and configuration of the database software, to manage the allocation of space, to manage security, and (in concert with the developer) to manage data organization and query optimization. There are other roles, such as supporting backup and recovery, but this is just a small list.

Maximum number of subqueries you can write in SQL?

For practical matters there is no limit. However some DBMS, e.g. Sybase, have a limit of maximum 50 nesting levels and a maximum of 50 subqueries in each side of a union. However, for practical purposes is difficult to believe that there is a use for a query that involves 5o subqueries.

Jose D. Montero