freshtea
09-14-2005, 05:29 AM
Hi
I am new to SQL server, I have been using Access and Dreamweaver to build most of my websites.
I have to upgrade to SQL SERVER on a website I have built.
I have the new connection string but I'm not sure what do to now. do I have to recode all my query pages.
below is the code for the Connection String page. with samples of the new SQL SERVER connection string (commented out)
================
<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
Dim MM_Access_STRING
MM_Access_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=G:\acom\sites\dummy\dummy.mdb;"
'const DBCONNECTIONSTRING = "Provider=sqloledb;DataSource=sql-2,2976;Database=ie_admin;UserId=admin;Password=Password"
'MM_Access_STRING = "Provider=sqloledb;DataSource=sql-2,2976;Database=ie_murphys_admin;UserId=username;Password=password"
%>
I am new to SQL server, I have been using Access and Dreamweaver to build most of my websites.
I have to upgrade to SQL SERVER on a website I have built.
I have the new connection string but I'm not sure what do to now. do I have to recode all my query pages.
below is the code for the Connection String page. with samples of the new SQL SERVER connection string (commented out)
================
<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
Dim MM_Access_STRING
MM_Access_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=G:\acom\sites\dummy\dummy.mdb;"
'const DBCONNECTIONSTRING = "Provider=sqloledb;DataSource=sql-2,2976;Database=ie_admin;UserId=admin;Password=Password"
'MM_Access_STRING = "Provider=sqloledb;DataSource=sql-2,2976;Database=ie_murphys_admin;UserId=username;Password=password"
%>