21 lines
848 B
Plaintext
21 lines
848 B
Plaintext
<%
|
|
Option ExPlicit
|
|
Dim SV_NAME : SV_NAME = "1.235.195.34"
|
|
Dim DB_NAME : DB_NAME = "new_cati"
|
|
Dim UID : UID = "sa"
|
|
Dim PWD : PWD = "krco#51304"
|
|
|
|
Dim SV_NAME1 : SV_NAME1 = "1.235.195.34"
|
|
Dim DB_NAME1 : DB_NAME1 = "krc_survey"
|
|
Dim UID1 : UID1 = "sa"
|
|
Dim PWD1 : PWD1 = "krco#51304"
|
|
dim ksurvey, ksurvey2, DBopener
|
|
|
|
'ksurvey = "Provider=SQLOLEDB;Server=1.235.195.34;Initial Catalog="&DB_NAME1&";uid="&UID1&";pwd="&PWD1&";" 'krc_survey db
|
|
ksurvey2 = "Provider=SQLOLEDB;Server="&SV_NAME1&";Initial Catalog="&DB_NAME1&";uid="&UID1&";pwd="&PWD1&";" 'report db
|
|
|
|
|
|
ksurvey = "Provider=SQLOLEDB;Server="&SV_NAME&";Initial Catalog="&DB_NAME&";uid="&UID&";pwd="&PWD&";" 'cati db
|
|
|
|
'ksurvey = "Provider=SQLOLEDB;Server="&SV_NAME1&";Initial Catalog="&DB_NAME1&";uid=sa;pwd=dudgus25;" 'krc_survey db
|
|
%> |