Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET 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 March 6th, 2007, 07:44 AM
Authorized User
 
Join Date: Jan 2007
Posts: 46
Thanks: 2
Thanked 1 Time in 1 Post
Default Conversion from C#/SQL Server 2005 to C#/MySQL

I want to convert a Job Search Site developed in C# for SQL Server 2005 to MySQL.Could someone give me suggestions what steps do i have to take.
There is no support of stored procedures in MySQL and data transactions are carried out through stored procedures in the existing code.

The code for the Job Search Site can be downloaded from this site:
http://asp.net/downloads/starterkits....aspx?tabid=62


Thankyou very much, regards
MaqsoodurRehman

MAXOOD!

Life is an endless journey towards perfection
__________________
MAXOOD!

Life is an endless journey towards perfection
 
Old March 6th, 2007, 08:51 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

MySQL very much does support Stored Procedures! They were introduced in Version 5 along with some other nifty features.

In any case, there is no "easy" way to do this as you can not directly import a MS SQL database into MySQL because they both implement ANSI 92 differently. Your C# code should be find, albeit you will have to change your database providers and such.

Also, you dont use exec to call a stored procedure from MySql, you have to use CALL storedProc('param') or CALL storedProc()

If you have your database queries in one class file and your data access methods in another class file, this is a simple conversion but if all of your queries and such are spread out through your code though, this will take a while to convert over.

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
reg conn to sql server 2005 from vb.net 2005.. veda SQL Server 2005 2 July 1st, 2008 12:16 AM
Conversion of access to sql server majidshahab SQL Server ASP 1 November 5th, 2007 03:48 PM
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
Access to SQL Server conversion mmathias SQL Server 2000 1 May 18th, 2006 07:49 AM





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