473,385 Members | 1,782 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

confused about access / sql database / sql server / php !! .. help please

i am running a website on Windows 2000 server with ASP 3 webpages and
Access 2000 database. (with a hosting company)
traffic is slow at this time but expect to grow. lately i have been
reading about sql database and sql server, specially this article:
http://www.aspfaq.com/show.asp?id=2195

will someone help me understand:

1. with *SQL Server*, do i keep my current Access 2000 database and
ASP pages?
if not, then -
a. what sort of DB i will need? (we r a non profit, so need
inexpensive things)
b. will ASP pages need be redesigned? how big/difficult is that
transition?

2. if i start using *SQL database*, then which SQL database?

3. Where does *mySQL* fit in this scene?

4. What do i do with my current ASP webpages?

5. i guess, i will need an SQL server if i have to use SQL database?
any recommendations for a cheaper hosting company?
Jul 19 '05 #1
3 3327
On 5 Oct 2003 08:30:21 -0700, md**@hotmail.com (cooldv) wrote:
i am running a website on Windows 2000 server with ASP 3 webpages and
Access 2000 database. (with a hosting company)
traffic is slow at this time but expect to grow. lately i have been
reading about sql database and sql server, specially this article:
http://www.aspfaq.com/show.asp?id=2195

will someone help me understand:

1. with *SQL Server*, do i keep my current Access 2000 database and
ASP pages?
Yes
if not, then -
a. what sort of DB i will need? (we r a non profit, so need
inexpensive things)
Depends on what your trafic will look like and how your skills are.
b. will ASP pages need be redesigned? how big/difficult is that
transition?
Not redesigned, but perhaps tweaked a bit. This mainly depends on
"how" you coded the ASP in the first place. See below

2. if i start using *SQL database*, then which SQL database?
This depends on what you know or are willing to learn. On Windows
based servers, Microsoft SQL Server is the most common choice. On
Linux based servers, mySQL is most common.

3. Where does *mySQL* fit in this scene?
mySQL is an open source implementation of SQL database.

4. What do i do with my current ASP webpages?
Modify them to work with the syntax of SQL used by the database of
your choice.

5. i guess, i will need an SQL server if i have to use SQL database?
any recommendations for a cheaper hosting company?


This is the big one. Not necessarily. If you are doing mainly lookups
from a database, this is not too big a deal and you should be able to
live with Access for quite some time. Actual hit rates and numbers
will help decide this for you.

From your comments, it does not appear that you understand that Access
uses SQL to do it's work in one way or another. SQL stands for
"Structured Query Language". It is generally a standardized language,
so for the most part, you can have one query and run it on any number
of database systems that support SQL. For example:

SELECT FName, LName FROM People

That is a SQL statement that will retrieve the First name and Last
Name from a table named People. It should work in Access, SQL Server,
mySQL, Oracle and probably most SQL based databases. You run into
problems when you get a little more tricky. Even seemingly simple
things like dates need a bit of tweaking to make work. For example

SELECT LName FROM People Where LogDate = #10/1/2003#

Will work fine in Access but it needs to be recoded as

SELECT LName FROM People WHERE LogDate = '10/1/2003'

(notice the change from # to single quotes) if you were to do the same
thing in SQL Server. Wildcard search characters are another bugaboo.
You use asterisk in Access, but % in SQL Server. For what it's worth,
SQL Server is the more standard way of doing it. Access is the
exception there.

Bottom line: You will need to do the following things to convert to
SQL Server:

1. Transfer the data from your Access database to SQL Server. At the
very least, you will need to recreate the schema (database structure)
in SQL Server. Note that there are more - and different data types in
SQL Server, so make sure you choose the correct ones.

2. Recode your connection string from Access to SQL Server. If you use
a DSN, this is quite simple. Otherwise, you will need to recode
wherever you make a connection.

3. Recode whatever SQL statements need syntax changes to support SQL
Server. There really are not tha many changes if you are not doing
complex queries.

If you have any SPECIFIC problems, dont hesitate to post the code and
the particulars. Im sure someone will be kind enough to help.
Jul 19 '05 #2
> 1. with *SQL Server*, do i keep my current Access 2000
database and
ASP pages?
sort of. you lose the Access DB, but import it into SQL Server
if not, then -
a. what sort of DB i will need? (we r a non profit, so need
inexpensive things)
b. will ASP pages need be redesigned? how big/difficult is that
transition?
it's not a massive transition if your current code is well designed. a
couple of SQL calls may need to be changed, your connection string will
change, but that's about it, really. If you want to take full advantage
of SQL's capabilities, I'd recommend a bit of an overhaul, though.
2. if i start using *SQL database*, then which SQL database?
up to you.
3. Where does *mySQL* fit in this scene?
it's a free/cheap SQL database server, not by any means as
fully-featured as MSSQL but still a step up from Access. It's less well
supported under ASP, community-wise, since most ASP developers use SQL
Server or Access
4. What do i do with my current ASP webpages?
keep 'em and change the calls as required
5. i guess, i will need an SQL server if i have to use SQL database?
any recommendations for a cheaper hosting company?


yup, you can't use a SQL Server database without the associated server.
try www.aspin.com for a start on web hosts. they're expensive! as a
non-profit you may have a good bargaining position, I work for a
non-profit here and we get a lot of concessions.
________________________________________
Atrax. MVP, IIS
http://rtfm.atrax.co.uk/

newsflash : Atrax.Richedit 1.0 now released.
http://rtfm.atrax.co.uk/infinitemonk...trax.RichEdit/

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #3
Most of your questions have been answered by other posts (very well, might I
add...nice job, Dan), but I can answer the last, about webhosting.

My experience has been that just about anyone will host your site for
$9.99/month until you say, well, that's great, what about MSSQL? Then the
price jumps to $99.99+/month. I guess that's to pay for licensing fees etc
etc etc, but when you consider the volume these companies do it's pretty
outrageous (any thoughts on that, ladies and gentlemen?). There was one
company - who shall remain nameless (email me if you want to know the
story) - that did MSSQL hosting for $9.99, but their backup scheme was
disastrous and I've since moved on. Far on.

Check out www.hostmysite.com and www.finesthost.net. I've worked with both,
currently use the second, and had good luck with both. (check out
www.seamlyne.com for my current site)

One note though, about transitioning between databases. Hopefully you've
got all of your SQL functions in one ASP page which is called from any page
needing a connection. That way, you only have to change the connection
string ONCE, and all the other pages get it in one shot.

Regards, and good luck!

--
William Morris
Product Development, Seritas LLC

"cooldv" <md**@hotmail.com> wrote in message
news:d3**************************@posting.google.c om...
i am running a website on Windows 2000 server with ASP 3 webpages and
Access 2000 database. (with a hosting company)
traffic is slow at this time but expect to grow. lately i have been
reading about sql database and sql server, specially this article:
http://www.aspfaq.com/show.asp?id=2195

will someone help me understand:

1. with *SQL Server*, do i keep my current Access 2000 database and
ASP pages?
if not, then -
a. what sort of DB i will need? (we r a non profit, so need
inexpensive things)
b. will ASP pages need be redesigned? how big/difficult is that
transition?

2. if i start using *SQL database*, then which SQL database?

3. Where does *mySQL* fit in this scene?

4. What do i do with my current ASP webpages?

5. i guess, i will need an SQL server if i have to use SQL database?
any recommendations for a cheaper hosting company?

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
11
by: Ohaya | last post by:
Hi, I'm trying to understand a situation where ASP seems to be "blocking" of "queuing" requests. This is on a Win2K Advanced Server, with IIS5. I've seen some posts (e.g.,...
51
by: w_curtis | last post by:
I'm an Access user, and I'm trying to learn MySQL and then PHP so I can make some web databases. But it just isn't clicking. I've followed some tutorials, and picked up a book, but just getting...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
22
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
5
by: Kip | last post by:
I have an office with approx 8 people. I have used Access with a Form on my personal PC for client records. I was wondering if I could put the Access table on a server and put shortcuts on each...
21
by: nihad.nasim | last post by:
Hi there, I have a database in Access that I need on the web. The web page should connect to the database and write records for certain tables and view records for others. I want to know a...
7
by: Ronald S. Cook | last post by:
I've always been taught that stored procedures are better than writing SQL in client code for a number of reasons: - runs faster as is compiled and lives on the database server - is the more...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.