´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • food / 2000-12-14 / ¿ÀÈÄ 3:05:40 / 210.219.185.189
    Á¶È¸¼ö : 122
    [Áú¹®] ¿¡·¯±¸¹®Àε¥ ¾î¶»°Ô ó¸®ÇØ¾ß µÉÁö6
    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

    [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'like'.

    /members/search_result.asp, line 16


    <%
    search = request("search")
    SearchString =request("SearchString")
    Set db = Server.CreateObject("ADODB.Connection")
    db.Open ("DSN=sql;UID=sa;PWD=")
    if search = "fallname" then
    SQL = "SELECT * FROM home where fallname like '%" & SearchString & "%' "
    SQL = SQL & " ORDER BY num DESC"
    elseif search = "id" then
    SQL = "SELECT * FROM home where id like '%" & SearchString & "%' "
    SQL = SQL & " ORDER BY id DESC"
    end if
    SQL = "SELECT * FROM home where " & search & " like '%" & SearchString & "%' "
    SQL = SQL & " ORDER BY id DESC"
    Set rs = Server.CreateObject("ADODB.Recordset")
    rs.Open SQL,db,3
    %>

    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :