|
|
|
|
俵ÀÌ / 2000-12-12 / ¿ÀÈÄ 6:49:33 / 203.255.3.190
Á¶È¸¼ö : 133
|
[Áú¹®] [Áú¹®] µµ¹è¾Æ³×¿°..ÈåÈå index.asp(ÁÁÀº¸» ÇѸ¶µð¿¡¼) |
> ÀÌ»óÇÏ°Ô µµ¹è°¡ µÇ¾î¹ö·È³×¿°.Á˼ÛÇϱ¸¿°^^
> À̰͸¸Àº..²ÀÁ¡...
> ÁÁÀº¸» ÇѸ¶µð¿¡¼ index.aspÁß¿¡ ÀºÎºÐ..
> À̺κÐÀÌ ÀÌÇØ°¡ ¾È°¡¿°
>
> Set cmdTemp = Server.CreateObject("ADODB.Command")
> Set DataCommand1 = Server.CreateObject ("ADODB.Recordset")
> cmdTemp.CommandText = "SELECT Count (C_Index_PIN) as V_Total FROM T_DreamSaying_M"
> cmdTemp.CommandType = 1
> Set cmdTemp.ActiveConnection = DBConnection
> DataCommand1.Open cmdTemp, , 0, 1
> À̺κÐÀ̺ó´Ù..
>
> cmdtemp.commandtext ÀÌ·±°Å°¡ ÀÌÇØ°¡ ¾È°¡¿°..
> À½.. ·£´ýÇÏ°Ô Çϱâ À§Çؼ ±×Àü¿¡..
> ÃÑ ¼ö ·¹ÄÚµåÀÇ ¼ö¸¦ ±¸ÇÏ´Â°Í °°Àºµ¥¿°..
> cmdtemp.activeconnection..À̰͵Î..
> ¾ÏÆ° °¡¿îµ¥ .ÀÌ µé¾î°£°Ç..ÀÌÇØ°¡ ¾ÈµÇ¿°..
> server.createobject -> ÀÌ·±°Ç ¾Ë°Ú´Âµ¥¿°..Ã¥¿¡¼ ¸¹ÀÌ ºÁ¿Ô°Åµî¿©.¾î¶²ÀÏÀ» ÇÏ´ÂÁöµµ ¾ËÁö¸¸..
> cmdtemp.commandtype..
> (C_Index_PIN) as V_Total <== ¿©±â¼ as´Â ¶Ç ¹º°¡¿°?
> ´Ô ¼Ò½º º¸¹È ÷º¸´Â°Ô ³Ê¹« ¸¹¾Æ¿°..^^
> ½Ã°£³ª½Ã´Âµ¥·Î..õõÈ÷ ÁÁÀº ´äº¯.ºÎŹµå¸³´Ï´Ù..
-----------------------------------------------------------
ÃÑ·¹Äڵ带 ±¸Çϴ°Š¸Â½À´Ï´Ù.
¸ù¶¥ SELECT¸¦ ÇÑ ´ÙÀ½¿¡ ·¹ÄÚµå Ä«¿îÆ®¸¦ ±¸Çصµ µÇ±¸¿ä....
À§¿¡¼ ó·³ COUNT¶õ ÇÔ¼ö¸¦ ÀÌ¿ëÇÒ ¼ö µµ ÀÖ½À´Ï´Ù.
SELECT Count (C_Index_PIN) as V_Total
Áï C_Index_PINÀÇ ¼ö¸¦ Count¿¡¼ V_Total¿¡ ³Ö¾î¶ó´Â ¸»ÀÌÁÒ...
±×·³.... ÈÖ¸®¸¯~~
|
|
|
|