Re: SQL difference - mySQL and MS SQL
- From: "Victor" <vic@xxxxxxx>
- Date: Sun, 13 Aug 2006 16:38:09 -0400
"Ole Kristian Bangås" <olekristian.bangas@xxxxxxxxxxxxxx> wrote in message
news:Xns981E29682647olekristianbangaas@xxxxxxxxxxxxxxxx
"Victor" <vic@xxxxxxx> wrote in
news:uZDbV$lvGHA.3936@xxxxxxxxxxxxxxxxxxxx:
I just bought a book that I thought was about the SQL query language.
Turns out it's really about mySQL. Uh.
What is the difference between query language for mySQL and MS SQL? Is
there a good reference?
I have never seen such a reference, and it highly depends on the version
of Micrsoft SQL Server and more importantly the verison of MySQL. MySQL
version 4 is nowhere near Microsoft SQL Server (in any version I've
seen). MySQL version 5 is starting to fill the gap, but it's still huge.
Most basic SQL syntax is the same in MySQL and Microsoft SQL Server, but
there are so many differences that I would suggest a book about
Transact-SQL (the dialect that Microsoft SQL Server uses).
Some differences (depending on version of MySQL and database engine
used)
* Lacking support for subqueries
* Lacking support for referential integrity
* Using LIMIT inetead of TOP (actually I hope this comes into the SQL
syntax, and even better that Microsoft SQL Server will support it)
* Lacking support for userdefined functions/stored procedures
* MySQL supports date and time datatypes, whereas Microsoft SQL Server
only have datetime
* No support for computed columns
* No support for triggers
And when we take SQL Server 2005 into consideration:
* No support for managed code
* No support for XML
* No support for Common Table Expressions
Well, there are so many differences, I've just mentiones some here. In
my opinion MySQL is far from a mature product.
--
Ole Kristian Bangås
MCT, MCDBA, MCDST, MCSE:Security, MCSE:Messaging, MCTS, MCITP
When you write "differences", you are saying that this is what ***mySQL*** is LACKING,
correct?
.
- Follow-Ups:
- Re: SQL difference - mySQL and MS SQL
- From: Sue Hoegemeier
- Re: SQL difference - mySQL and MS SQL
- References:
- SQL difference - mySQL and MS SQL
- From: Victor
- Re: SQL difference - mySQL and MS SQL
- From: Ole Kristian Bangås
- SQL difference - mySQL and MS SQL
- Prev by Date: Re: SQL difference - mySQL and MS SQL
- Next by Date: Re: SQL difference - mySQL and MS SQL
- Previous by thread: Re: SQL difference - mySQL and MS SQL
- Next by thread: Re: SQL difference - mySQL and MS SQL
- Index(es):
Relevant Pages
|