Test your skills through the online practice test: SQL Quiz Online Practice Test

Related differences

Ques 51. Indexes

Indexes are optional structures associated with tables used to speed query execution and/or guarantee uniqueness. Create an index if there are frequent retrieval of fewer than 10-15% of the rows in a large table and columns are referenced frequently in the WHERE clause. Implied tradeoff is query speed vs. update speed. Oracle automatically update indexes. Concatenated index max. is 16 columns.

Is it helpful? Add Comment View Comments
 

Ques 52. Data types

Max. columns in a table is 255. Max. Char size is 255, Long is 64K & Number is 38 digits.
Cannot Query on a long column.
Char, Varchar2 Max. size is 2000 & default is 1 byte.
Number(p,s) p is precision range 1 to 38, s is scale -84 to 127.
Long Character data of variable length upto 2GB.
Date Range from Jan 4712 BC to Dec 4712 AD.
Raw Stores Binary data (Graphics Image & Digitized Sound). Max. is 255 bytes.
Mslabel Binary format of an OS label. Used primarily with Trusted Oracle.

Is it helpful? Add Comment View Comments
 

Ques 53. Order of SQL statement execution

Where clause, Group By clause, Having clause, Order By clause & Select.

Is it helpful? Add Comment View Comments
 

Ques 54. Transaction

Transaction is defined as all changes made to the database between successive commits.

Is it helpful? Add Comment View Comments
 

Ques 55. Commit

Commit is an event that attempts to make data in the database identical to the data in the form. It involves writing or posting data to the database and committing data to the database. Forms check the validity of the data in fields and records during a commit. Validity check are uniqueness, consistency and db restrictions.

Is it helpful? Add Comment View Comments
 

Most helpful rated by users: