ÀúÈñ ¾ÖµåÆ÷À¯´Â ODBC ¼³Á¤À» Çص帮Áö ¾Ê½À´Ï´Ù. ±×·¯¹Ç·Î DB ¿¬°áÀº OLEDB¸¦ »ç¿ëÇÏ¼Å¾ß ÇÕ´Ï´Ù.
¨ç ACCESS ÀÇ °æ¿ì
<% MYDB = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("./Æú´õ¸í/µ¥ÀÌÅͺ£À̽ºÆÄÀϸí.mdb") set Conn = Server.CreateObject("ADODB.connection") Conn.Open MYDB %>
¨è SQL À» »ç¿ëÇÒ °æ¿ì
<% MYDB = "Provider=SQLOLEDB;Data Source=111.222.333.444;Initial Catalog=xxxx;User ID=sa; Password=xxxxx;" Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open MYDB %>
- SQL °èÁ¤Àº ½Åû¼¿¡ ÀÛ¼ºÇϽŠFTP ID, FTP Æнº¿öµå¸¦ »ç¿ë ÇϹǷΠÀÚ½ÅÀÇ °èÁ¤¿¡ ¸Â°Ô ÄÚµùÇÏ½Ã¸é µË´Ï´Ù.
- Data Source ÀԷºκÐÀº ÀÚ½ÅÀǵµ¸ÞÀÎÀ» »ç¿ëÇÏ¸é µË´Ï´Ù.(¿¹: ad4you.co.kr, EM ¿¡¼ ¼¹öµî·Ïµµ ¸¶Âù°¡Áö)
- Initial Catalog ´Â ÀÚ½ÅÀÇ µ¥ÀÌÅͺ£À̽º¸íÀ» Àû¾î ÁÖ¸é µË´Ï´Ù.
|