|
-
Jan 12th, 2010, 11:06 PM
#1
Thread Starter
Lively Member
is this possible
i am a beginner software developer but i have created a very comprehensive vb.net program that is the brain of an entire transportation company. it uses an Access database on a LAN. is it possible to put this database online? im trying to get it so they can access the database from anywhere (while its still reasonably fast). i coded every sql query the program uses, which call the same connection string from a editable text file. its used on about 5 computers. can i just "slap" the Access databse online and modify the connection string? what about some kind of p2p client that connects to the host computer, then the database? im looking for the path of least resistance, but a decent outcome. any help appreciated..
-
Jan 12th, 2010, 11:10 PM
#2
Re: is this possible
If you want concurent database connections, you may want to start thinking about using SQL (or MySQL).......
BTW, as a beginner developer, don't you have experience fellow workers? That said, if you did you probably wouldn't have used Access as a back end in the first place due to the R&D etc that would/should have taken place.
-
Jan 12th, 2010, 11:19 PM
#3
Thread Starter
Lively Member
Re: is this possible
i regret using access...what exactly is a sql database? im confused because i use sql queries for an Access database...how paifull is the transition? i am a fast learner
-
Jan 12th, 2010, 11:31 PM
#4
Re: is this possible
The queries could be similar. Depending on how you coded up the command & connections etc, you may be able to make minimal changes.
Anyhooo, here is a good place of reference.
-
Jan 12th, 2010, 11:37 PM
#5
Re: is this possible
 Originally Posted by jtm235
i regret using access...what exactly is a sql database? im confused because i use sql queries for an Access database
That's exactly why (many) people shouldn't be lazy and say "SQL" when they mean "SQL Server". SQL is a language used to write queries for basically all databases. SQL Server is Microsoft's enterprise-grade RDBMS.
If your app is not too large you might consider starting out with SQL Server Express, which is free but does have limitations. SQL Server Express uses the same data file format as SQL Server so upgrading is simply a matter of attaching to a different server.
Thanks to ADO.NET and SQL, moving from one database to another is relatively simple, once the new database and its schema has been created. Because Access and SQL Server are both from Microsoft, there are more similarities than usual. For the most part it's just a case of changing all your OleDb objects into SqlClient objects and changing the connection string.
-
Jan 12th, 2010, 11:49 PM
#6
Thread Starter
Lively Member
Re: is this possible
 Originally Posted by jmcilhinney
That's exactly why (many) people shouldn't be lazy and say "SQL" when they mean "SQL Server". SQL is a language used to write queries for basically all databases. SQL Server is Microsoft's enterprise-grade RDBMS.
If your app is not too large you might consider starting out with SQL Server Express, which is free but does have limitations. SQL Server Express uses the same data file format as SQL Server so upgrading is simply a matter of attaching to a different server.
Thanks to ADO.NET and SQL, moving from one database to another is relatively simple, once the new database and its schema has been created. Because Access and SQL Server are both from Microsoft, there are more similarities than usual. For the most part it's just a case of changing all your OleDb objects into SqlClient objects and changing the connection string.
im not sure what "too big" is. the database had about 20 tables, 2 of them are 75 items wide and will grow at a rate of about 100 rows per day. one of those tables is continually read every 30 seconds. too big?
-
Jan 12th, 2010, 11:57 PM
#7
Re: is this possible
 Originally Posted by jmcilhinney
That's exactly why (many) people shouldn't be lazy and say "SQL" when they mean "SQL Server".
Oops my bad, glad i got the open source one right then... 
To be correct: MySQL Community Server, or Enterprise Server for example.
Last edited by Bruce Fox; Jan 13th, 2010 at 12:00 AM.
-
Jan 13th, 2010, 12:02 AM
#8
Re: is this possible
If you want to know what the specific limitations of SQL Server Express are then you should check out the SQL Server Express documentation on MSDN. "Too big" is not a relative or at all wishy-washy term in this sense. As the documentation says, SQL Server Express supports databases up to 4 GB in size. Anything over that will require archiving old data or upgrading to SQL Server.
-
Jan 13th, 2010, 12:16 AM
#9
Thread Starter
Lively Member
Re: is this possible
i just realized our hosting account for the website has mySQL. would that be sufficient?
-
Jan 13th, 2010, 12:21 AM
#10
Re: is this possible
 Originally Posted by jtm235
i just realized our hosting account for the website has mySQL. would that be sufficient?
As Bruce Fox has already suggested, yes it would.
-
Jan 13th, 2010, 12:26 AM
#11
Re: is this possible
Also, check the capabilities and limitations you host imposes. Generally, there are DB size limits etc.
-
Jan 13th, 2010, 12:51 AM
#12
Thread Starter
Lively Member
Re: is this possible
thanks everyone for pointing me in the right direction
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|