Results 1 to 12 of 12

Thread: is this possible

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    116

    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..

  2. #2
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    116

    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

  4. #4
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    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.

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: is this possible

    Quote Originally Posted by jtm235 View Post
    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    116

    Re: is this possible

    Quote Originally Posted by jmcilhinney View Post
    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?

  7. #7
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    Re: is this possible

    Quote Originally Posted by jmcilhinney View Post
    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.

  8. #8
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  9. #9

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    116

    Re: is this possible

    i just realized our hosting account for the website has mySQL. would that be sufficient?

  10. #10
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: is this possible

    Quote Originally Posted by jtm235 View Post
    i just realized our hosting account for the website has mySQL. would that be sufficient?
    As Bruce Fox has already suggested, yes it would.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  11. #11
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    Re: is this possible

    Also, check the capabilities and limitations you host imposes. Generally, there are DB size limits etc.

  12. #12

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    116

    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
  •  



Click Here to Expand Forum to Full Width