MySQL Forums
Forum List  »  Microsoft SQL Server

Re: convert ms sql query to mysql
Posted by: Damir Bulic
Date: April 21, 2010 12:56AM

SqlTran, our very advanced database translator migrated your SQL Server query to MySQL like this:


SELECT DISTINCT
UserID,
IP,
ROUND(COUNT(IP) / CAST((SELECT
COUNT(userid)
FROM
Users) AS DECIMAL(24)), 2) AS '%'
FROM
Users
GROUP BY
UserID, ip;

SqlTran does near-100% automated translation and migrates tables, data, procedures, functions, triggers, views...

You can learn more about SqlTran at www.sqltran.com

Damir Bulic
Spectral Core

Options: ReplyQuote


Subject
Written By
Posted
February 24, 2010 09:49AM
Re: convert ms sql query to mysql
April 21, 2010 12:56AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.