Oracle [ClassicASP] 연동하기 DB Connection 샘플
페이지 정보
본문
<%
strConnect = "dsn=서버아이피:포트번호;uid=아이디;pwd=비밀번호"
strConnect = "Provider=OraOLEDB.Oracle.1;Password=비밀번호;Persist Security Info=True;User ID=아이디;Data Source=네임"
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open strConnect
%>
<%
SET Conn = Server.CreateObject("ADODB.Connection")
stropen = "Provider=MSDAORA.1;Data Source=서버아이피;User Id=아이디;Password=비밀번호; Persist Security Info=True;"
Conn.Open(stropen)
%>
strConnect = "dsn=서버아이피:포트번호;uid=아이디;pwd=비밀번호"
strConnect = "Provider=OraOLEDB.Oracle.1;Password=비밀번호;Persist Security Info=True;User ID=아이디;Data Source=네임"
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open strConnect
%>
<%
SET Conn = Server.CreateObject("ADODB.Connection")
stropen = "Provider=MSDAORA.1;Data Source=서버아이피;User Id=아이디;Password=비밀번호; Persist Security Info=True;"
Conn.Open(stropen)
%>
댓글목록
등록된 댓글이 없습니다.