°æ°í
  ¹Ú¿ì¹üÀÇ Çã¶ô ¾øÀÌ´Â »ó¾÷Àû »ç¿ëÀ» ±ÝÇÕ´Ï´Ù.


 
2.4.3   READ statement (READ ¹®)
 
 
[Çü½Ä 1] 
  READ ÆÄÀϸí [ NEXT ] RECORD [ INTO µ¥ÀÌÅ͸í ]
      [ AT END ¹«Á¶°Ç ¸í·É¹® ]  
 
¨ç
 ACCESS MODE°¡ SEQUENTIALÀÌ¸é ±â¼úÇÕ´Ï´Ù.
¨è
 NEXT ±¸  :  ACCESS MODE°¡ DYNAMICÀ̸鼭 ·¹Äڵ带 ¼øÂ÷ ó¸®ÇÏ·Á°í ÇÒ ¶§ ±â¼úÇÕ´Ï´Ù.
 
[Çü½Ä 2] 
  READ ÆÄÀϸí RECORD [ INTO µ¥ÀÌÅ͸í-1 ]
        [ KEY IS  µ¥ÀÌÅ͸í-2 ]
        [ INVALID KEY  ¹«Á¶°Ç ¸í·É¹® ]
 
¨ç
 ACCESS MODE °¡ RANDOM ¶Ç´Â DYNAMIC À̸鼭 ·¹Äڵ带 Á÷Á¢ ó¸®ÇÏ°íÀÚ ÇÒ ¶§ ±â¼úÇÕ´Ï´Ù.
¨è
 KEY ±¸  :  SELECT ¹®¿¡¼­ RECORD KEY ¶Ç´Â ALTERNATIVE RECORD KEY·Î ±â¼úÇÑ ³»¿ë°ú ÀÏÄ¡ÇÕ´Ï´Ù.
¨é  INVALID KEY ±¸  :  KEY ±¸·Î ±â¼úÇÑ ·¹ÄÚµå¿Í ÆÄÀÏÀÇ ·¹Äڵ尡 ÀÏÄ¡ÇÏ´Â °ÍÀÌ ¾øÀ¸¸é ¹«Á¶°Ç ¸í·É¹®À» ¼öÇàÇÕ´Ï´Ù.
 
 
ÁöÀû ¼ÒÀ¯±ÇÀ» º¸È£ÇսôÙ.
 
¢Ð ¢½ ¢Ñ