Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Data types are relatively similar.</p> <p>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.</p> <p>Migrating away from TSQL means:</p> <ul> <li>There's no <code>WITH</code> clause in MySQL - it will have to converted into a derived table/inline view</li> <li>There's no <code>TOP</code> syntax - these have to be converted to use <code>LIMIT</code></li> <li>There's no ranking/analytic functionality in MySQL - can't use <code>ROW_NUMBER</code>, <code>RANK</code>, <code>DENSE_RANK</code> or <code>NTILE</code>. See <a href="http://www.oreillynet.com/pub/a/mysql/2007/03/29/emulating-analytic-aka-ranking-functions-with-mysql.html" rel="noreferrer">this article for alternatives</a>.</li> <li>MySQL views have <a href="http://dev.mysql.com/doc/refman/5.0/en/create-view.html" rel="noreferrer">notoriously limited functionality</a>: <ul> <li>The SELECT statement cannot contain a subquery in the FROM clause.</li> <li>The SELECT statement cannot refer to system or user variables.</li> <li>Within a stored program, the definition cannot refer to program parameters or local variables.</li> <li>The SELECT statement cannot refer to prepared statement parameters.</li> <li>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.</li> <li>The definition cannot refer to a TEMPORARY table, and you cannot create a TEMPORARY view.</li> <li>Any tables named in the view definition must exist at definition time.</li> <li>You cannot associate a trigger with a view.</li> <li>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).</li> </ul></li> <li>Dynamic SQL will have to be converted to use MySQL's <a href="http://dev.mysql.com/tech-resources/articles/4.1/prepared-statements.html" rel="noreferrer">Prepared Statement</a> syntax</li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload