¾È±Ô °øºÎ¹æ

ACTIVE SERVER PAGE > ȸ¿ø Å×ÀÌºí »ý¼º

µî·ÏÀÏ : 2017-07-03 20:07 Á¶È¸¼ö : 53,453

¿©·¯ºÐÀÌ ¾Æ¸¶ ȨÆäÀÌÁö¸¦ ¸¸µé·Á°í ÇÑ´Ù¸é °¡Àå ¸ÕÀú ¹«¾ó ÇϽDZî¿ä???
¾Æ¸¶ ȸ¿ø °ü·Ã Å×À̺íÀ» ¸¸µå½Ã°ÚÁö¿ä?
¾Æ·¡ÀÇ ¿¹Á¦´Â ȸ¿ø Å×À̺íÀ» asp¸¦ ÅëÇؼ­ ¸¸µå´Â ¿¹Á¦ ÀÔ´Ï´Ù.
 
<%
    	date1 = year(date)&"-"&month(date)&"-"&day(date)
        
 	Set Conn = Server.CreateObject("ADODB.Connection")
 	Conn.Open("dsn=xxxx;uid=sa;pwd=;database=test")

	strSql="create table member (id char(10),passwd char(10),name char(13),zipcode char(7),address 
	strSql= strSql +" char(50),telephone char(15),	email char(30),ga_date char(14),job varchar(20),
	strSql= strSql +" hak varchar(20))"
	set rs=conn.Execute(strSql)
	%>



À§ÀÇ ¼Ò½º´Â ȸ¿ø Å×ÀÌºí »ý¼º ºÎºÐÀÔ´Ï´Ù.  ´ëÃæ ¼³¸íÀ» µå¸®¸é,,,,óÀ½¿¡ ÀÖ´Â date1 º¯¼ö´Â
dateÇÔ¼ö¿¡¼­ ³â,¿ù,ÀÏÀ» ÃßÃâÇÏ´Â ºÎºÐÀÔ´Ï´Ù. 

°á°ú´Â 2000-1-19ÀÏ °ú °°ÀÌ Ãâ·Â µÇ°ÚÁÒ?(¿À´Ã ³¯Â¥)°¡ µÇ±¸¿ä, ±×¸®±¸ µÎ ¹ø° ÁÙÀº ConnÀ̶õ ÀνºÆÃÆ®¸¦
»ý¼º½ÃÅ°´Â °Å±¸¿ä, ´ÙÀ½ÁÙÀº ConnÀ̶õ °´Ã¼¸¦ ¿­¾î ÁÝ´Ï´Ù. dsn=xxx;uid=sa;pwd=;database=xxx; 
¿©·¯ºÐÀÇ ÄÄÇ»ÅÍ ¼Ó¼º¿¡ ¸Â°Ô ÇØ ÁÖ¸é µÇ±¸¿ä... ¸¶Áö¸· µ¥ÀÌÅͺ£À̽º¸¦ ³Ö¾î ÁÖ¾ú½À´Ï´Ù.
¸¶Áö¸·¿¡ µ¥ÀÌÅÍ º£À̽º¸¦ ³ÖÀ¸¸é ÇØ´ç µ¥ÀÌÅÍ º£À̽º¸¦ ÀÐÀ» ¼ö ÀÖ½À´Ï´Ù.
±×¸®±¸, sql ¹®ÀÌ ³ª¿Ô´Âµ¥¿ä...
ȸ¿ø ±¸Á¶¸¦ º¸¸é,, 

id char(10)  : ȸ¿ø ¾ÆÀ̵ð
passwd char(10) : ¾ÏÈ£
name char(13)  : À̸§
zipcode char(7) : ¿ìÆí¹øÈ£
address char(50) : ÁÖ¼Ò
telephone char(15) : ÀüÈ­¹øÈ£
email char(30) : email ÁÖ¼Ò
ga_date char(14) : °¡ÀÔ³¯Â¥
job varchar(20) : Á÷¾÷
hak  varchar(20) : ÇзÂ

´ÙÀ½°ú °°ÀÌ test µ¥ÀÌÅÍ º£À̽º¿¡ member Å×À̺íÀ» ¸¸µé ¼ö ÀÖ½À´Ï´Ù.
 
¡Ø Ȥ½Ã µµ¿òÀÌ µÇ¼Ì´Ù¸é ´ñ±Û¿¡ ÇѸ¶µð ³²°ÜÁÖ¼¼¿ä!
ÀÛ¼ºÀÚ   ºñ¹Ð¹øÈ£
ÀÚµ¿±Û ¹æÁö     (ÀÚµ¿±Û ¹æÁö ±â´ÉÀÔ´Ï´Ù.)
³»¿ë   ´ñ±Û´Þ±â 
À̸ÞÀÏ ¹®ÀÇ : cak0280@nate.com  
Copyright 2000 By ENTERSOFT.KR All Rights Reserved.