02.07.2013 Views

Beware of duplicate interview ques- tion books in market with same ...

Beware of duplicate interview ques- tion books in market with same ...

Beware of duplicate interview ques- tion books in market with same ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Rule 3: Systematic treatment <strong>of</strong> null values.<br />

"Null values (dist<strong>in</strong>ct from the empty character str<strong>in</strong>g or a str<strong>in</strong>g <strong>of</strong> blank characters and<br />

dist<strong>in</strong>ct from zero or any other number) are supported <strong>in</strong> fully rela<strong>tion</strong>al DBMS for<br />

represent<strong>in</strong>g miss<strong>in</strong>g <strong>in</strong>forma<strong>tion</strong> and <strong>in</strong>applicable <strong>in</strong>forma<strong>tion</strong> <strong>in</strong> a systematic way,<br />

<strong>in</strong>dependent <strong>of</strong> data type."<br />

In SQL SERVER if there is no data exist<strong>in</strong>g NULL values are assigned to it. Note NULL<br />

values <strong>in</strong> SQL SERVER do not represent spaces, blanks or a zero value; it’s a dist<strong>in</strong>ct<br />

representa<strong>tion</strong> <strong>of</strong> miss<strong>in</strong>g <strong>in</strong>forma<strong>tion</strong> and thus satisfy<strong>in</strong>g rule 3 <strong>of</strong> CODD.<br />

Rule 4: Dynamic on-l<strong>in</strong>e catalog based on the rela<strong>tion</strong>al model.<br />

"The data base descrip<strong>tion</strong> is represented at the logical level <strong>in</strong> the <strong>same</strong> way as ord<strong>in</strong>ary<br />

data, so that authorized users can apply the <strong>same</strong> rela<strong>tion</strong>al language to its <strong>in</strong>terroga<strong>tion</strong><br />

as they apply to the regular data."<br />

The Data Dic<strong>tion</strong>ary is held <strong>with</strong><strong>in</strong> the RDBMS, thus there is no-need for <strong>of</strong>f-l<strong>in</strong>e volumes<br />

to tell you the structure <strong>of</strong> the database.<br />

Rule 5: Comprehensive data sub-language Rule.<br />

"A rela<strong>tion</strong>al system may support several languages and various modes <strong>of</strong> term<strong>in</strong>al use<br />

(for example, the fill-<strong>in</strong>-the-blanks mode). However, there must be at least one language<br />

whose statements are expressible, per some well-def<strong>in</strong>ed syntax, as character str<strong>in</strong>gs and<br />

that is comprehensive <strong>in</strong> support<strong>in</strong>g all the follow<strong>in</strong>g items<br />

√ Data Def<strong>in</strong>i<strong>tion</strong><br />

√ View Def<strong>in</strong>i<strong>tion</strong><br />

√ Data Manipula<strong>tion</strong> (Interactive and by program).<br />

√ Integrity Constra<strong>in</strong>ts<br />

√ Authoriza<strong>tion</strong>.<br />

√ Transac<strong>tion</strong> boundaries ( Beg<strong>in</strong> , commit and rollback)<br />

SQL SERVER uses SQL to query and manipulate data which has well-def<strong>in</strong>ed syntax and<br />

is be<strong>in</strong>g accepted as an <strong>in</strong>terna<strong>tion</strong>al standard for RDBMS.<br />

Note: - Accord<strong>in</strong>g to this rule CODD has only men<strong>tion</strong>ed that some language should be<br />

present to support it, but not necessary that it should be SQL. Before 80’s different<br />

67

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!