|
|
|
|
俵ÀÌ / 2000-06-12 / ¿ÀÈÄ 4:40:14 / 203.255.3.190
Á¶È¸¼ö : 115
|
[Áú¹®] sql¹® ¿¡·¯ ÀÎ°Í °°Àºµ¥¿ä... Ä¿¼Å¸ÀÔÀÌ ¸óÁö... |
> Set Conn = Server.CreateObject("ADODB.Connection")
> Conn.Open "appdb", "sa", ""
>
> Set Rs = Server.CreateObject("ADODB.Recordset")
> Rs.CursorType=1
> Sql = "SELECT number, title, name, email, visited, comment, date, homepage FROM " & request("uid") & ""
> Rs.Open Sql, Conn
> comment=Replace(Rs("comment"),chr(13),"< br >")
>
> ¿ä±â¿¡¼ ¿¡·¯°¡ ¶ß°Åµç¿ä?
>
> sql¹®Àº ¹®Á¦°¡ ¾ø´Â°Í °°Àºµ¥
>
> ¿°í ´Ý°í Çϴµ¥¼ ¹®Á¦°¡ »ý±â´Â°Í °°¾Æ¿ä
>
> ¤Ð.¤Ð °¥ÄÑÁÖ¼¼¿µ...
-----------------------------------------------------------
¾î¶² ¿¡·¯°¡ ¶ß½Ã´ÂÁö¿ä?
Ȥ½Ã uidÀÇ °ªÀÌ Á¦´ë·Î ³Ñ¾î¿ÀÁö ¾Ê´Â°Ç ¾Æ´Ò±î¿ä?
Ä¿¼Å¸ÀÔÀ̶õ RecordsetÀ» ¿ ¶§ »ç¿ëÇØ¾ß ÇÒ Ä¿¼ Çü½ÄÀ» À̾߱âÇϸç
Ä¿¼¶õ ½±°Ô À̾߱âÇϸé ÇöÀç ·¹Äڵ带 °¡¸®Å°´Â Æ÷ÀÎÅ͸¦ À̾߱âÇÕ´Ï´Ù.
°Ë»ö¿£Áø¿¡ CursorTypeÀ̶ó°í °Ë»öÇØ º¸½Ã¸é ¸¹Àº Á¤º¸¸¦ ¾òÀ¸½Ç ¼ö ÀÖ½À´Ï´Ù.
±×·³...
|
|
|