Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 24th, 2004, 05:49 PM
Authorized User
 
Join Date: Apr 2004
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default Converting to MYSQL from sql server 2000

how hard would it be and how much code would i have to change to convert to MYSQL instead of sql server 2000 used in the book. I know changability is one of the advantages of this 3 tier structure stuff.

rrr
__________________
rrr
 
Old May 24th, 2004, 07:04 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello,

I don't have the book, so I don't know what the SQL scripts look like. I've also never used MySQL before, but if stored procedures are involved, then the T-SQL code in those stored procedure won't be supported. Also, I don't know if MySQL will support the collation statements that it appends for character fields when exported as a SQL string; however, that would be easy enough to strip out.

Brian
 
Old May 24th, 2004, 08:36 PM
Authorized User
 
Join Date: Apr 2004
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

because i notice most hosting services seem to support MYSQL. So i will only be making changes to the stored procedures?? or is it better for me to just find a host that will support MS-SQL?? if so any recommendations??

rrr
 
Old May 24th, 2004, 09:42 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It would be a LOT of work to change it to use MySQL. There are lots of low-cost hosting companies now that support ASP.NET and SQL Server. I'm using 1planhost.com, but I also like easerve.com, and DiscountASP.com. There are many others.
  For learning purposes, you can get a free account at WebMatrixHosting.net - despite their name, they support both Web Matrix and Visual Studio. Although they're in Europe, lots of people in the US use them. They're pretty fast, free, and sponsored by Microsoft.

Eric
 
Old May 25th, 2004, 03:28 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello,

Most of the sites I saw charged an extra fee for SQL Server support. I would recommend keep using MSSQL if possible, but it depends on your budget and/or your desire to recode the tables/databases.

It will require some effort.

Brian
 
Old March 22nd, 2005, 10:59 AM
Authorized User
 
Join Date: May 2004
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
Default

The problem you will face is that stored procedures are only supported in MySQL 5.0 and upwards. This is not yet a full release and still in the alpha stage.

You can download 5.x and create stored procedures but I don't think you would find many (if any) sites which host on verison 5.

Also the stored procedure implementation on MySQL differs greatly from T-SQL, it's likely you could convert some of the procedures but there are things you can't do in MySQL which are trivial in T-SQL.

For an introduction to MySQL stored procedures check out my site. http://www.mysqldevelopment.com

Andrew Gilfrin






Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql and sql server 2000/2005 Sheraz Khan MySQL 1 October 22nd, 2007 06:01 PM
Difference between mysql and sql server 2000/2005 Sheraz Khan SQL Language 1 October 22nd, 2007 12:39 PM
SQL Server 2000 and SQL Server 2000 CE dparsons SQL Server 2000 1 July 31st, 2006 12:59 PM
converting MySQL tables to SQL Server using PHP vishal148 Access 2 July 3rd, 2004 10:48 AM
Help converting MySQL SELECT to JET-SQL Alexandre Access 10 May 21st, 2004 02:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.