Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi ALL,


I have a MSSQL server database with loads of Tables,Views and Stored procedures. I tried to convert with a tool. But it converted tables only(not sp or view).Let me know a way to migrate whole the db to mysql.


Plz help me.

thanks,
Posted
Updated 28-Mar-23 22:02pm
Comments
Nirali R shah 9-Mar-15 3:42am    
hello,
How to convert all tables, views , stored procedure from Microsoft SQL Sever to MYSQL.

can any one help plz...

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
--exec GetUserDetails 'mkumar9699@gmail.com','1234','Yes'
CREATE proc [dbo].[GetUserDetails]
@Email varchar(100),
@Password varchar(max),
@IsActive varchar(3)
as
Declare @UserExist int,
@UserPassword varchar(254)
Begin
Select UserExist=isnull((select count(*) from [dbo].[Users] where UserEmail=@Email and IsActive=@IsActive),0),
UserEmail,UserPassword from [dbo].[Users] where UserEmail=@Email and IsActive=@IsActive
print @UserExist
End
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900