|
|
|
|
½Ã¾ÖƲ / 2001-08-14 / ¿ÀÈÄ 1:38:09 / 211.110.89.243
Á¶È¸¼ö : 126
|
[Áú¹®] ÀÌ ´ÊÀº ¹ã¿¡ ¶Ç Áú¹®À» *^^* |
¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë
> ±ÛÀ» ÀÛ¼ºÇÏ°í ³ª¼ ´Ù½Ã ÀÐ¾î º¸´Ï±ñ Áú¹®¿¡ Àû´çÇÏÁö ¾Ê´Â ´äº¯ÀÌ µÉ °¡´É¼ºµµ ÀÖ¾î º¸ÀÌ´Â ±º¿ä...
>
> Select * from aaa Order By number Desc
> " µÎ°³ÀÇ °ªÀ» °¡Á®¿Ã·Á¸é ¾î¶»°Ô ÇؾßÇϳª¿ä "
>
> ¿©±â¼ µÎ°³ÀÇ °ªÀ̶õ ¹«¾ùÀ» ÀǹÌÇÒ±î¿ä..?
>
> Çϳª´Â NumÁßÀÇ ÃÖ°í°ªÀ» ¾Ë¾Æ ³»´Â °ÍÀÌ°í, ´Ù¸¥ Çϳª´Â »ý¼ºµÈ ·¹ÄÚµå¼ÂÀ» ÀÌ¿ëÇÑ´Ù´Â ÀǹÌÀΰ¡¿ä...?
>
>
> ¸¸¾à À§Äõ¸® Çϳª·Î µÎ ÇØ´äÀ» ã´Â ´Ù¸é
> Select * from aaa Order By number Desc
> ÀÇ °á°úÄ¡ÀÎ ´ÙÀ½ÀÇ °á°ú¿¡¼
>
> 6
> 5
> 4
> 3
> 2
> 1
>
>
> Á¦ÀÏ Ã³À½ÀÇ ·¹Äڵ带 ÀÐÀ¸¸é NumÁßÀÇ ÃÖ°í°ªÀ» ¾Ë¾Æ ³¾ ¼ö°¡ ÀÖÀ»°Å±¸, ±×´ÙÀ½ÀÇ ¹®Á¦ÀÎ ·¹ÄÚµå¼Â ·çÇÎÀ» µ¹¸± °ÍÀ̶ó¸é ±×³É ±×´ë·Î ·çÇÎÀ» µ¹¸®¸é µÉ°Å °°³×¿ä...
>
> SQL = "Select * from aaa Order By number Desc"
>
> Set rs = Server.CreateObject"ADODB.Recordset")
> rs.Open SQL,db, 3
>
> intMaxNum = rs("Num")
> rs.MoveFirst '(Çصµ µÇ°í ¾ÈÇصµ µÇ°í)
>
> Do While Not rs.Eof
> -
> -
> -·çÇΠ󸮺κÐ
> -
> -
> -
> rs.MoveNext
> Loop
>
>
-----------------------------------------------------------
´äº¯ °¨»çµå¸³´Ï´Ù.. ÇÏÁö¸¸ Á¤È®È÷ Á¦°¡ ¿øÇÏ´Â ´äÀÌ ¾Æ´Õ´Ï´Ù.. Áú¹®À» Á¦°¡ Á¤È®ÇÏ°Ô ¾ÈÇß½À´Ï´Ù.
Á¤½ÄÄÚµùÀº »ý·«ÇÏ°í °³³ä¸¸ ´Ù½Ã ¸»½¿ µå¸®°Ú½À´Ï´Ù.
Request("number")
SQL = "Select * from aaa Order By number Desc"
Set rs = Server.CreateObject"ADODB.Recordset")
rs.Open SQL,db, 1
´ë·«ÀÌ·¸½À´Ï´Ù.
ÇÙ½ÉÀº requestºÎºÐÀÌÁÒ ¸¸¾à ¿ø·¡ ·¹Äڵ忡 ÃÖ°íÀÇ °ªÀÌ(°¡Á¤ÇÑ°Í) 6Àε¥ request¿¡¼ ³Ñ¿À¿Â °ªÀº 6º¸´Ù ÀÛÀº °ªÀÏ °æ¿ì¿¡ ÃÖ°í°ªÀ» ±¸ÇÏ´Â °Å ¸»ÀÔ´Ï´Ù.
ÀÌÇØ Çϼ̽À´Ï±î?
|
|
|
|