|
|
|
|
俵ÀÌ / 2000-05-22 / ¿ÀÈÄ 6:02:12 / 203.255.3.190
Á¶È¸¼ö : 146
|
[Áú¹®] ÀÌ°Ç ¹«½¼ ¿¡·¯ÁÒ?
|
> Á¤¸» °£¸¸¿¡ µé·È¾î¿ä..Á¦°¡ Á» °ÔÀ»·¯¼ °øºÎ¸¦ ¾ÈÇÑ Å¿ÀÌ¶ó º¼¼ö ÀÖÁÒ...Á¤¸» Á¦´ë·ç °øºÎ¸¦ ¾ÈÇؼ º°·ç ½Ç·ÂÀÌ ¾È´À´Â °Í °°¾Æ¿ä..
> °Ô½ÃÆÇ ¼Ò½º¸¦ °¡Áö°í ÀÌ·¡ Àú·¡ÇÏ´Ù°¡ ¾Æ·¡¿Í °°Àº ¿¡·¯°¡ ³µ¾î¿ä..¿¡·¯ÀÇ Á¾·ù¸¦ ¸ô¶ó¼ Àϱî?¾ÏÆ° ¹«½¼ ¿¡·± ÁÙ ¸ð¸£°Ú¾î¿ä..±Û±¸ ¹«¾ùº¸´Ù Á¦°¡ µð¹ö±ëÇÏ´Â ÀÛ¾÷À» ÀüÇô ÇÒÁÙ ¸ô¶ó¼ ÀÌ·¸°Ô ¸Å¹ø Á¦¼ÕÀ¸·Î ãÁö ¸øÇϱ¸ ¹°¾îº¸±ä¸¸ Çϳ׿ä..
>
> ¾Æ·¡¼´Â class·Î ¹¾îÁ® ÀÖ´Â ´ä±ÛÀ» ²÷¾î¹ö¸®±â À§ÇØ Å¬·¡½ºÇʵ带 »èÁ¦Çعö·È¾î¿ä...±×·¡¼ ¿ø·¡ MAX(Class)¸¦ ¼±ÅÃÇÏ´Â ºÎºÐÀ» ¾ø¾Ö±¸ Çϳª·ç ÇÕÃƴµ¥ ..¿¡·¯°¡ ³ª³×¿ä..ÀÚ·á½Ç ÄÚµù°ú ºñ±³ÇÏ´Ï °ÅÀÇ ºñ½ÁÇÏ´Ù´Â »ý°¡ÀÌ µå´Âµ¥..¹«¾ùÀÌ À߸øµÈ °ÇÁö¿ä..
>
> Microsoft OLE DB Provider for ODBC Drivers error '80040e57'
>
> [Microsoft][ODBC Microsoft Access µå¶óÀ̹ö]¼ýÀÚ °ªÀÌ ¹üÀ§¸¦ ¹þ¾î³µ½À´Ï´Ù. (null)
>
> /bbs/wrote.asp, line 113
>
>
> Set DBConnection = Server.CreateObject("ADODB.Connection")
> DBConnection.ConnectionTimeout = Session("DBConnection_ConnectionTimeout")
> DBConnection.CommandTimeout = Session("DBConnection_CommandTimeout")
> DBConnection.Open Session("DBConnection_ConnectionString"), Session("DBConnection_RuntimeUserName"), Session("DBConnection_RuntimePassword")
> Set cmdTemp = Server.CreateObject("ADODB.Command")
> Set DataCommand1 = Server.CreateObject("ADODB.Recordset")
> cmdTemp.CommandText = "SELECT MAX(C_Index_PIN) FROM T_DreamBBS_"&P_ID&"_M"
> cmdTemp.CommandType = 1
> Set cmdTemp.ActiveConnection = DBConnection
> DataCommand1.Open cmdTemp, , 0, 1
>
> V_Index=DataCommand1(0)
>
> if IsNull(V_Index) then
> V_Index=1
> else
> V_Index=V_Index+1
> end if
>
> V_IP=Request.ServerVariables("Remote_Addr")
>
> V_Sql="INSERT INTO T_DreamBBS_"&P_ID&"_M (C_Index_PIN, C_Name_N, C_Email_A, C_Subject_N, C_Contents_N, C_Password_N, C_Upday_N, C_Order_N, C_Depth_N, C_Approval_N, C_Opposition_N, C_IP_N, C_Date_N, C_Time_N, C_Reference_N) VALUES ("&V_Index&", '"&P_Name&"', '"&P_Email&"', '"&P_Subject&"', '"&P_Contents&"', '"&P_Password&"', "&V_Upday&", 0, 0, 0, 0, '"&V_IP&"', '"&V_Date&"', '"&V_Time&"', '"&V_Reference&"')"
> DBConnection.Execute(V_Sql)
>
> ¸Ç ¸¶Áö¸·ÁÙ sql¼öÇ๮ÀÌ 113ÁÙÀÌ¿©¿ä..
-----------------------------------------------------------
±Û½ê¿ä... ¹«½¼ ¿¡·¯ÀÎÁö Á¤È®ÇÏ°Ô´Â ¸ð¸£°Ú´Âµ¥¿ä...
INSERT ÇÒ¶§ nullÀÌ Çã¿ëµÇÁö ¾Ê´Â º¯¼ö¿¡ null°ªÀÌ µé¾î°¡´Â°Í °°Àºµ¥¿ä...
INSERT ÇϽñâ Àü¿¡ ÀԷ°ªµéÀ» ÇϳªÇϳª Ãâ·ÂÇØ º¸¼¼¿ä...
±×·³...
|
|
|
|