´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
µî·ÏÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
> > µÎ°³ÀÇ °ªÀ» °¡Á®¿Ã·Á¸é ¾î¶»°Ô ÇؾßÇϳª¿ä > > > > ¿¹¸¦µé¸é....¾Æ·¡ÀÇ °æ¿ì´Â 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 > > -----------------------------------------------------------
Ãß°¡ÇÒ À̹ÌÁö¸¦ ÀÔ·ÂÇϼ¼¿ä.
À̹ÌÁö 1
À̹ÌÁö¼³¸í 1
Ãß°¡ÇÒ ÀڷḦ ÀÔ·ÂÇϼ¼¿ä.
ÀÚ·á 1
ÀÚ·á¼³¸í 1
Ãß°¡ÇÒ ½ÎÀÌÆ®¸¦ ÀÔ·ÂÇϼ¼¿ä.
°ü·Ã½ÎÀÌÆ® 1
½ÎÀÌÆ®¼³¸í 1
Password
*