OLE DB¸¦ »ç¿ëÇÏ·Á¸é ASP¹®¼¿¡¼ ¾î¶»°Ô ÄÚµùÇؾßÇϳª¿ä? | |
---|---|
OLE DB ¸¦ »ç¿ëÇϽŴٸé ÄÚµå´Â ´ÙÀ½°ú °°½À´Ï´Ù.
----------------------------------------------------------- Dim strConnect, adoCn Set adoCn = Server.CreateObject("ADODB.Connection") str = "Provider=SQLOLEDB;Data Source=sql.lowhigh.net;Initial Catalog=pubs;user ID=xx;password= xx;" adoCn.Open str ---------------------------------------------------------- Áß¿äÇÑ ºÎºÐÀº ¼Ò½ºÁß¿¡¼ Ä¿³Ø¼Ç °´Ã¼ÀÇ Open ¸Þ¼Òµå¿¡ »ç¿ëÇÏ´Â ¿¬°á¹®ÀÚ¿ÀÔ´Ï´Ù. ¼Ò½ºÁß¿¡ Provider=SQLOLEDB;Data Source=dbl.lowhigh.net;Initial Catalog=pubs;user ID=xx;password=xx; ¶ó°í µÇ¾îÁ® ÀÖ´Â ºÎºÐÀÌ ±×°ÍÀÔ´Ï´Ù. Catalog ´Â µ¥ÀÌŸº£À̽º¸íÀÌ°í ID,password ¸¦ ³ÖÀ¸½Ã¸é µË´Ï´Ù. Áï, OLE DB¸¦ »ç¿ëÇϱâ À§Çؼ´Â ÀÌ ¿¬°á¹®ÀÚ¿¸¸ Àß ±¸¼ºÇÏ¸é µË´Ï´Ù |