| Sl.# | DBMS | RDBMS |
|---|---|---|
| 1 | Introduced in 1960s. | Introduced in 1970s. |
| 2 | During introduction it followed the navigational modes (Navigational DBMS) for data storage and fetching. | This model uses relationship between tables using primary keys, foreign keys and indexes. |
| 3 | Data fetching is slower for complex and large amount of data. | Comparatively faster because of its relational model. |
| 4 | Used for applications using small amount of data. | Used for complex and large amount of data. |
| 5 | Data Redundancy is common in this model | Keys and indexes are used in the tables to avoid redundancy. |
| 6 | Example systems are dBase, Microsoft Acces. | Example systems are SQL Server,Oracle. |
import javax.swing.*; import java.awt.event.*; public class Dialog { JFrame frame; JPanel p; public Dialog(){ frame = new JFrame("Show Message Dialog"); p=new JPanel(); JButton button = new JButton("Click Me"); button.addActionListener(new MyAction()); p.add(button); frame.add(p); frame.setSize(400, 400); frame.setVisible(true); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); } public class MyAction implements ActionListener{ public void actionPerformed(ActionEvent e){ JOptionPane.showMessageDialog(frame,"My DialogBox"); } } public static void main(String[] args) { Dialog db = new Dialog(); } }
Comments
Post a Comment