|
|
|
|
¹°¸¸º¸ / 2001-02-14 / ¿ÀÈÄ 2:33:01 / 210.90.89.3
Á¶È¸¼ö : 210
|
[Áú¹®] ¾È³çÇϼ¼¿©?^^(ºü¸¥ ´äº¯ ¹«Áö °¨»çÇÕ´Ï´Ù.) |
> > ¾È³çÇϼ¼¿©.
> > Àú±â¿© asp¿¡¼¿© Çѹ®¼³»¿¡¼ Å×À̺íÀ»
> > µÎ°³ÀÌ»ó ºÒ·¯¿À°í ½ÍÀ»¶§¿©
> > select¹®À» µÎ¹øÀÌ»ó Çѹ®¼¿¡¼
> > »Ñ·ÁÁÙ¼ö ÀÖ´ÂÁö ±Ã±ÝÇÔ´Ï´Ù.
> > ¿¹¸¦ µé¾î¼ À̸§°ú ÁÖ¼Ò°¡ ÇÊ¿äÇѵ¥
> > À̸§Àº a¶ó´Â Å×ÀÌºí¿¡ ÁÖ¼Ò´Â b¶ó´Â Å׸®ºí¿¡
> > Á¸ÀçÇÒ¶§ ÀÌ°ÍÀ» Çѹ®¼¿¡¼ ¾î¶»°Ô
> > joinÀ» Çؼ ²ø±¸ ¿À´ÂÁö ±Ã±ÝÇÕ´Ï´Ù.
> > Ãʺ¸¶ó¼¸®...
> > °í¼ö´ÔµéÀÇ ºü¸¥ ´äº¯ ºÎŹµå¸³´Ï´Ù.
> -----------------------------------------------------------
>
> Set DB = Server.CreateObject("ADODB.Connection")
> DB.open "DSN=aa;UID=bb;PWD=;"
> Set rs = Server.CreateObject "ADODB.RecordSet")
> sql = "select * from table where id='"& id
> Set rs = db.Execute(sql)
> name = rs("name")
> À§¿¡´Â ÀÌ·¸°Ô ÇϽñ¸¿ä..
> ¾Æ·¡ÀÇ ³»¿ë¿¡ µé¾î°¥ µðºñ¸¦ ¸ÂÃç¼...
>
> Set Conn = Server.CreateObject("ADODB.Connection")
> Conn.open "DSN=aa;UID=bb;PWD=;"
> Set rsd = Server.CreateObject "ADODB.RecordSet")
> rsd.Open "SELECT * FROM table2 where Àý...order by id desc","DSN=aa;UID=bb;PWD=",1,2
> sql2)
> name = rsd("name")
> ÀÌ·¸°Ô ÇѹøÇغ¸¼¼¿ä..
> Àú´Â ÀÌ·±¹æ¹ýÀ» ÀÌ¿ëÇÕ´Ï´Ù.
> ÀúµÎ °í¼ö´Â ¾Æ´Ï¶ó¼³~~~
> ±×·³ Áñ.ÇÁ Çϼ¼¿ä~~~
-----------------------------------------------------------
|
|
|
|