|
|
|
|
俵ÀÌ / 2000-10-24 / ¿ÀÀü 10:50:52 / 203.255.3.190
Á¶È¸¼ö : 140
|
[Áú¹®] ¿ÕÃʺ¸¿¹¿ë.. please help me!!!x |
> ¼îÇθô ¼Ò½º ¸¸µé±¸ Àִµ¥..
> ÀÌ»óÇѵ¥¼ ¿¡·¯°¡..
> »óÇ°Á¤º¸¸¦ µî·ÏÇؼ ÀúÀåÇÏ´Â ºÎºÐÀÌ¿¹¿ä..
>
> insert into goods(prod_id, prod_name, sex, img, quentity,price1, price2, thema) values(','','°ÕÁ¶','a','','33,000, 25,000','','')
> Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
>
> [Microsoft][ODBC Microsoft Access µå¶óÀ̹ö] '','','°ÕÁ¶','a','','33' Äõ¸®½ÄÀÇ ¿¬»êÀÚ°¡ ¾ø´Â ±¸¹® ¿À·ùÀÔ´Ï´Ù.
>
> /»óÇ°Áø¿/new_ok.asp, line 27
>
>
> À§ ¶óÀÎÀÇ ¼Ò½ºÄÚµåÀÔ´Ï´Ù...
> ±Û±¸ ¿¢¼¼½º·Î Çß¾î¿ä.. sqlÀÌ Áý¿¡ ¾ø¾î¼¸®..
> „‰ µµ¿ÍÁÖ¼¼¿ä..
> Äõ¸®½ÄÀÇ ¿¬»êÀÚ¶ó¸é.. ¿¢¼¼½º¿¡¼ Äõ¸® ¸¸µé¾î¾ß
> µÇ³ª¿ä?
>
> <%
> code=request("code")
> part=request("sex")
> name=request("name")
> img=request("img")
> quentity=request("quentity")
> price1=request("price1")
> price2=request("price2")
> thema=request("thema")
>
>
> set db=server.createobject("adodb.connection")
> db.open("dsn=shooping")
>
> sql="insert into goods(prod_id, prod_name, sex, img, quentity,"
> sql=sql & "price1, price2, thema) values"
> sql=sql & "("& code & "'"
> sql=sql & ",'" & part &"'"
> sql=sql & ",'" & name &"'"
> sql=sql & ",'" & img &"'"
> sql=sql & ",'" & quentity &"'"
> sql=sql & ",'" & price1 &"'"
> sql=sql & ",'" & price2 &"'"
> sql=sql & ",'" & thema &"')"
>
> response.write sql
> db.execute sql
> %>
>
>
-----------------------------------------------------------
sql=sql & "("& code & "'"
ÀÌ°÷ÀÌ
sql=sql & "('"& code & "'"
ÀÌ·¸°Ô µÇ¾ß µÇÁö ¾ÊÀ»±î¿ä?
|
|
|
|