´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • ²ÀÁö / 2001-08-14 / ¿ÀÀü 8:55:30 / 168.126.91.65
    Á¶È¸¼ö : 132
    [Áú¹®] ÀÌ ´ÊÀº ¹ã¿¡ ¶Ç Áú¹®À» *^^*
    > µÎ°³ÀÇ °ªÀ» °¡Á®¿Ã·Á¸é ¾î¶»°Ô ÇؾßÇϳª¿ä
    >
    > ¿¹¸¦µé¸é....¾Æ·¡ÀÇ °æ¿ì´Â aaa¶ó´Â Å×ÀÌºí¿¡¼­ ¹øÈ£ÀÇ ¿ª¼øÀ¸·Î °¡Á®¿À´Â °æ¿ìÀÔ´Ï´Ù.
    > ..................................
    > Set db = Server.CreateObject"ADODB.Connection")
    > db.Open ("DSN=ddd;uid=sa;pwd=;")
    >
    > SQL = "Select * from aaa Order By number Desc"
    >
    > Set rs = Server.CreateObject"ADODB.Recordset")
    > rs.Open SQL,db,1
    > ...................................
    >
    > ¿©±â¼­ À§ÀÇ Á¶°ÇÀ» ¸¸Á·½ÃÅ°¸é¼­ numÁß ÃÖ°íÀÇ °ªÀ» ±¸ÇÏ°í ½Í´Ù¸é ¾î¶»°Ô ÇؾßÇÏÁÒ?
    >
    > Áö±Ý ÁýÁßÀÌ ¾ÈµÇ¼­ ±×·¯´Ï ¹ø°Å·Î¿ì½Ã´õ¶óµµ ¾Æ½Ã´Â ºÐ ´äº¯À» ºÎŹµå¸³³ª´Ù...
    >
    -----------------------------------------------------------

    ¸¸¾à µ¥ÀÌÅÍ°¡
    6
    1
    2
    5
    3
    4
    ÀÌ·±½ÄÀ¸·Î ÀÖÀ» °æ¿ì

    Select * from aaa Order By number Desc

    ÀÌ·¸°Ô Çϸé
    6
    5
    4
    3
    2
    1
    ÀÌ µÇ°ÚÁÒ...

    ÀÌ·¸°Ô Á¤·ÄÀÌ µÇ¾î ÀÖ´Â °æ¿ì¿¡¼­ ÃÖ°í¹øÈ£ Çϳª¸¸ °¡Á® ¿À°í ½ÍÀ» °æ¿ì´Â

    Select top 1 * from aaa Order By number Desc

    ÀÌ·¸°Ô ´øÁ®µµ µÉ°Å °°±¸¿ä..

    ¾Æ´Ï¸é MS°¡ ¾Æ´Ñ °è¿­ÀÇ DBÀÏ°æ¿ì´Â

    Select *
    Fom aaa
    Where num = (Select Max(num) From aaa)

    ÀÌ·±½ÄÀÇ ¼­ºê Äõ¸®¸¦ ÀÌ¿ëÇÏ¿© ±¸ÇÏ¿©µµ µÉ°Í °°³×¿ä..

    ÁÁÀº ÇÏ·ç~~~!


    ¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë¡ë
    ±ÛÀ» ÀÛ¼ºÇÏ°í ³ª¼­ ´Ù½Ã ÀÐ¾î º¸´Ï±ñ Áú¹®¿¡ Àû´çÇÏÁö ¾Ê´Â ´äº¯ÀÌ µÉ °¡´É¼ºµµ ÀÖ¾î º¸ÀÌ´Â ±º¿ä...

    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

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