Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 597999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:20:30+00:00 2026-05-13T16:20:30+00:00

I have a SqlServer db that I would like to port to MySQL. What’s

  • 0

I have a SqlServer db that I would like to port to MySQL. What’s the best way to to this. Things that need to be ported are:

  • Tables (and data)
  • FileStream → MySQL equivalent?
  • Stored Procedures
  • Functions
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T16:20:30+00:00Added an answer on May 13, 2026 at 4:20 pm

    Data types are relatively similar.

    There is no equivalent to FileStream in MySQL – the files must either be stored as BLOBs, or on the file system while the path is stored in the database.

    Migrating away from TSQL means:

    • There’s no WITH clause in MySQL – it will have to converted into a derived table/inline view
    • There’s no TOP syntax – these have to be converted to use LIMIT
    • There’s no ranking/analytic functionality in MySQL – can’t use ROW_NUMBER, RANK, DENSE_RANK or NTILE. See this article for alternatives.
    • MySQL views have notoriously limited functionality:
      • The SELECT statement cannot contain a subquery in the FROM clause.
      • The SELECT statement cannot refer to system or user variables.
      • Within a stored program, the definition cannot refer to program parameters or local variables.
      • The SELECT statement cannot refer to prepared statement parameters.
      • Any table or view referred to in the definition must exist. However, after a view has been created, it is possible to drop a table or view that the definition refers to. In this case, use of the view results in an error. To check a view definition for problems of this kind, use the CHECK TABLE statement.
      • The definition cannot refer to a TEMPORARY table, and you cannot create a TEMPORARY view.
      • Any tables named in the view definition must exist at definition time.
      • You cannot associate a trigger with a view.
      • As of MySQL 5.0.52, aliases for column names in the SELECT statement are checked against the maximum column length of 64 characters (not the maximum alias length of 256 characters).
    • Dynamic SQL will have to be converted to use MySQL’s Prepared Statement syntax
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a report that I would like to base on a single SQL
I have a SqlServer database that I've manually filled with some test data. Now
I have created a sql function in SQLServer 2008 that declared a temporary table
Using SQLServer 2008 I currently have a function that implements functionality as shown below
I have a database with many tables that get used, and many tables that
First, a little background. I have two ASP.NET web applications that use SQLServer session
I have a WinForms application that was written in C# .NET 3.5. This application
I would like to get to the bottom of this because it's confusing me.
I have a snippet of an XML file that looks like: <?xml version=1.0 encoding=utf-16?>
I have an SQL server database that I am querying and I only want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.