Subject : ODBCÀÇ ÀÌÇØ

Description :

. °³¿ä

ODBC´Â À©µµ¿ìÁî PCÀÇ AP·ÎºÎÅÍ ¼­¹ö»óÀÇ Multi Vender DBMS¿¡ ´ÜÀÏÀÇ ¹æ¹ýÀ¸·Î
Á¢¼ÓÇϱâ À§ÇÑ APIÀÌ´Ù. ÀÌ´À SQL¿¡ ÀÇÇÑ DB Á¢¼Ó¿¡ °üÇÑ ºñ¿µ¸® Ç¥ÁØÈ­ ´ÜüÀÎ
SQL Á¢¼Ó ±×·ìÀÌ °áÁ¤ÇÑ CLI(Call Level interface)ÀÇ ¹æ¹ý¿¡ ±âÃÊÇÑ´Ù.

Á¾·¡´Â DBMSÀÇ Á¾·ù¿¡ µû¶ó Á¢¼Ó ¹æ¹ýÀÌ ´Þ¶ú±â ¶§¹®¿¡ ¼ÒÇÁÆ®¿þ¾î ¾÷ü¿Í
»ç¿ëÀÚ´Â DBMS¸¶´Ù Client AP¸¦ ¸¸µé¾î¾ß Çß´Ù. ÀÌ ¹®Á¦¸¦ ÇØ°áÇÏ´Â ¼ö´ÜÀ¸·Î¼­ 
MicroSoft°¡ 91³â 11¿ù¿¡ ¹ßÇ¥ÇÑ °ÍÀÌ ODBCÀÌ´Ù.

ODBC°¡ ±ÔÁ¤ÇÏ´Â API´Â 2Á¾·ù·Î Çϳª´Â AP°¡ »ç¿ëÇÏ´Â API, ´Ù¸¥ Çϳª´Â DB 
Connection¿¡ ÇÊ¿äÇÑ ODBC Driver¸¦ °³¹ßÇϱâ À§ÇÑ SPI(Service Provider Interface)
ÀÌ´Ù. µû¶ó¼­ ODBC¸¦ ÀÌ¿ëÇϱâ À§Çؼ­´Â ODBC Driver, ODBC Driver Manager,
±×¸®°í ODBC API¿¡ ÁØ°ÅÇÑ AP¸¦ Windows Pc¿¡ žÀçÇÏ¿©¾ß ÇÑ´Ù.
ÀÌ °æ¿ì ODBC Driver Manager´Â ODBC Driver¸¦ LoadÇØ AP°¡ ¹ßÇàÇÑ SQL¹®À»
¹Þ¾Æ ³Ñ°ÜÁÖ´Â ¿ªÇÒÀ» ÇÏ°Ô µÈ´Ù.

±âº»ÀûÀ¸·Î´Â DB¾÷ü¿Í Third Party°¡ °¢Á¾ DBMS¿ëÀÇ ODBC Driver¸¦ °³¹ßÇØ
Á¦°øÇÑ´Ù. Oracle, Sybase, Informix µî À¯·Â¾÷ü´Â ODBC Driver °³¹ßÀ» Ç¥¸íÇÏ°í
ÀÖ´Ù. MicroSoftµµ Á¢¼Ó 1.1¿¡ SQL Server 4.2¿ëÀÎ ODBC Driver¸¦ ÷ºÎÇØ ¹ßÇ¥Çß´Ù.

À̹ۿ¡ ODBC¿Í °°Àº ¸ñÀûÀ» °®´Â Interface·Î IDAPI°¡ ÀÖ´Ù. º¼·£µå ÀÎÅͳ»¼Å³ÎÀÌ
Áß½ÉÀÌ µÇ¾î 92³â 11¿ù¿¡ IBM, Novel µî°ú °øµ¿À¸·Î ¹ßÇ¥ÇÑ °ÍÀÌ´Ù. ´çÃÊ¿¡´Â
DB Á¢¼ÓÀÇ ¾÷°è Ç¥ÁØ APIÀÇ ÁöÀ§¸¦ ³õ°í ODBC¿Í °æÀïÇÏ¿´´Ù. ±×·¯³ª ODBC ´ëÀÀÀ»
Ç¥¸íÇÑ AP ¼ö°¡ °è¼Ó Áõ°¡ÇÏ´Â ¹Ý¸é IDAPI´Â Áö¿øºÎÁ·À¸·Î Á¤Ã¼ »óÅ¿¡ ÀÖ´Ù.

ÀϹÝÀûÀ¸·Î ODBC Driver¿Í Á¢¼Ó S/W´Â °¢ DB ¾÷ü°¡ °ø±ÞÇÑ´Ù.


. ODBC Architecture

                  Windows Client
            ----------------------------
  ODBC      |        Application       |  # API ÇÔ¼ö¸¦ È£ÃâÇÏ°í, SQL¹®À» º¸³»
   API ---> ****************************  # °á°ú¸¦ ¾ò´Â´Ù.
            | ODBC Driver Manager(DLL) |  # ODBC Driver¸¦ LoadÇÏ°í ¿äûÀ» ³Ñ±è.
  ODBC ---> ****************************  # ÇÔ¼ö È£ÃâÀ» ó¸®ÇÏ°í, ƯÁ¤ DBMS¿¡
   SPI      | ODBC DBMS Driver(DLL)    |  # SQL¹®À» º¸³»¸ç, °á°ú¸¦ AP¿¡ ³Ñ±è.
            ----------------------------
            |        Á¢¼Ó S/W          |  # DBMS °íÀ¯ Åë½Å ¼ø¼­
            ----------------------------
                         |
                         | Networking
                         |
            ----------------------------
            |        Á¢¼Ó S/W          |  # DBMS °íÀ¯ Åë½Å ¼ø¼­
            ----------------------------
            |          DBMS            |  # ODBC Driver·ÎºÎÅÍ º¸³»¿Â SQL¹®À»
            ----------------------------  # ó¸®ÇÏ°í, °á°ú¸¦ Driver¿¡ ¹Ýȯ.
                     DB Server


Revision History

ÀÛ¼ºÀÏÀÚ : 96.06.19
ÀÛ¼ºÀÚ : À̹ÎÈ£

¼öÁ¤ÀÏÀÚ : 
¼öÁ¤ÀÚ