|
|
|
|
俵ÀÌ / 2001-08-13 / ¿ÀÀü 2:01:23 / 203.255.3.190
Á¶È¸¼ö : 136
|
[Áú¹®] Çü½Ä ¶Ç´Â ¼Ó¼º¿¡·¯< |
> ¿À·ù Çü½Ä:1
> Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
> [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'like'.
> /mdboard/search_result.asp, line 33
> -------------------------------------------
> ¿À·ù Çü½Ä:2
> Microsoft OLE DB Provider for ODBC Drivers (0x80040E21)
> ODBC µå¶óÀ̹ö°¡ ¿äûÇÑ ¼Ó¼ºÀ» Áö¿øÇÏÁö ¾Ê½À´Ï´Ù.
> /mdboard/search_result.asp, line 33
> ------------------------------------------------
> À§ÀÇ ¿À·ù µÎ°¡Áö¿¡ ´ëÇؼ ¾Æ·¡ ¼Ò½º¸¦ º¸½Ã°í ´äº¯ºÎŹÇÕ´Ï´Ù.
> Set db = Server.CreateObject("ADODB.Connection")
> db.Open ("DSN=mdboard;uid=sa;pwd=;")
> SSQL = "Select * from mdboard where " & kind & " like '%" & search_string & "%' "
> SSQL = SSQL & " ORDER By reply_group Desc,reply_step Asc"
>
> Set rs = Server.CreateObject("ADODB.Recordset")
> rs.PageSize = 5 'ÆäÀÌÁö´ç ¸®½ºÆ® Á¦¸ñ Ãâ·Â¼ö
> rs.Open SSQL,db,1
>
-----------------------------------------------------------
kind º¯¼ö¿¡ °ªÀÌ Á¦´ë·Î ³Ñ¾î¿ÀÁö ¾Ê´Â´Ù´Â ¶æÀÔ´Ï´Ù.
Àß »ìÆ캸¼¼¿ä...
|
|
|
|