Is MySQL more ansi compatible now?

This is a discussion on Is MySQL more ansi compatible now? within the MySQL Database forums, part of the Database Forums category; Hi newsgroup. I haven't looked into MySQL version 5, but I can remember that previous versions had alot of ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-03-2007
PSiegmann@mail.nu
 
Posts: n/a
Default Is MySQL more ansi compatible now?

Hi newsgroup.

I haven't looked into MySQL version 5, but I can remember that
previous versions had alot of quirks, like an odd definition of NULL
etc.

Is this better now? PostgreSQL was always regarded as the more
standard complaint DB, has MySQL closed the gap?

I am deciding currently what to take - PSQL or MySQL, and need some
opinions. Thanks.

Reply With Quote
  #2 (permalink)  
Old 09-03-2007
Captain Paralytic
 
Posts: n/a
Default Re: Is MySQL more ansi compatible now?

On 3 Sep, 07:35, PSiegm...@mail.nu wrote:
"like an odd definition of NULL"

I'm intrigued, please explain?

Reply With Quote
  #3 (permalink)  
Old 09-03-2007
Norman Peelman
 
Posts: n/a
Default Re: Is MySQL more ansi compatible now?

PSiegmann@mail.nu wrote:
> Hi newsgroup.
>
> I haven't looked into MySQL version 5, but I can remember that
> previous versions had alot of quirks, like an odd definition of NULL
> etc.
>
> Is this better now? PostgreSQL was always regarded as the more
> standard complaint DB, has MySQL closed the gap?
>
> I am deciding currently what to take - PSQL or MySQL, and need some
> opinions. Thanks.
>


From http://dev.mysql.com/doc/refman/4.1/...-is-mysql.html

MySQL is a relational database management system.

A relational database stores data in separate tables rather than putting
all the data in one big storeroom. This adds speed and flexibility. The
SQL part of “MySQL” stands for “Structured Query Language.” SQL is the
most common standardized language used to access databases and is
defined by the ANSI/ISO SQL Standard. The SQL standard has been evolving
since 1986 and several versions exist. In this manual, “SQL-92” refers
to the standard released in 1992, “SQL:1999” refers to the standard
released in 1999, and “SQL:2003” refers to the current version of the
standard. We use the phrase “the SQL standard” to mean the current
version of the SQL Standard at any time.

....and

http://dev.mysql.com/doc/refman/4.1/...with-null.html

A.1.5.3. Problems with NULL Values

The concept of the NULL value is a common source of confusion for
newcomers to SQL, who often think that NULL is the same thing as an
empty string ''. This is not the case. For example, the following
statements are completely different:
mysql> INSERT INTO my_table (phone) VALUES (NULL);
mysql> INSERT INTO my_table (phone) VALUES ('');


....and

http://dev.mysql.com/doc/refman/4.1/...-sql-mode.html

Norm


Norm
Reply With Quote
  #4 (permalink)  
Old 09-03-2007
Martijn Tonies
 
Posts: n/a
Default Re: Is MySQL more ansi compatible now?


> > I haven't looked into MySQL version 5, but I can remember that
> > previous versions had alot of quirks, like an odd definition of NULL
> > etc.
> >
> > Is this better now? PostgreSQL was always regarded as the more
> > standard complaint DB, has MySQL closed the gap?
> >
> > I am deciding currently what to take - PSQL or MySQL, and need some
> > opinions. Thanks.
> >

>
> From http://dev.mysql.com/doc/refman/4.1/...-is-mysql.html
>
> MySQL is a relational database management system.
>
> A relational database stores data in separate tables rather than putting
> all the data in one big storeroom.


"one big storeroom"?

What would that be? :-)


--
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com


Reply With Quote
  #5 (permalink)  
Old 09-04-2007
Tony Marston
 
Posts: n/a
Default Re: Is MySQL more ansi compatible now?


"Martijn Tonies" <m.tonies@upscene.removethis.com> wrote in message
news:46dc19f9$0$32206$e4fe514c@dreader22.news.xs4a ll.nl...
>
>> > I haven't looked into MySQL version 5, but I can remember that
>> > previous versions had alot of quirks, like an odd definition of NULL
>> > etc.
>> >
>> > Is this better now? PostgreSQL was always regarded as the more
>> > standard complaint DB, has MySQL closed the gap?
>> >
>> > I am deciding currently what to take - PSQL or MySQL, and need some
>> > opinions. Thanks.
>> >

>>
>> From http://dev.mysql.com/doc/refman/4.1/...-is-mysql.html
>>
>> MySQL is a relational database management system.
>>
>> A relational database stores data in separate tables rather than putting
>> all the data in one big storeroom.

>
> "one big storeroom"?
>
> What would that be? :-)


Some database systems store all the tables and indeces in one big file
instead of a separate file for each.

--
Tony Marston

http://www.tonymarston.net
http://www.radicore.org



> --
> Martijn Tonies
> Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle
> &
> MS SQL Server
> Upscene Productions
> http://www.upscene.com
> My thoughts:
> http://blog.upscene.com/martijn/
> Database development questions? Check the forum!
> http://www.databasedevelopmentforum.com
>
>



Reply With Quote
  #6 (permalink)  
Old 09-04-2007
Hugo
 
Posts: n/a
Default Re: Is MySQL more ansi compatible now?

Tony Marston wrote :

>> "one big storeroom"?
>>
>> What would that be? :-)

>
> Some database systems store all the tables and indeces in one big file
> instead of a separate file for each.


Like the MySQL InnoDB engine ;)

--
Hugo
Reply With Quote
  #7 (permalink)  
Old 09-04-2007
Martijn Tonies
 
Posts: n/a
Default Re: Is MySQL more ansi compatible now?


> >> > I haven't looked into MySQL version 5, but I can remember that
> >> > previous versions had alot of quirks, like an odd definition of NULL
> >> > etc.
> >> >
> >> > Is this better now? PostgreSQL was always regarded as the more
> >> > standard complaint DB, has MySQL closed the gap?
> >> >
> >> > I am deciding currently what to take - PSQL or MySQL, and need some
> >> > opinions. Thanks.
> >> >
> >>
> >> From http://dev.mysql.com/doc/refman/4.1/...-is-mysql.html
> >>
> >> MySQL is a relational database management system.
> >>
> >> A relational database stores data in separate tables rather than

putting
> >> all the data in one big storeroom.

> >
> > "one big storeroom"?
> >
> > What would that be? :-)

>
> Some database systems store all the tables and indeces in one big file
> instead of a separate file for each.


Both solutions have nothing to do with the phrase "relational database
management system".

How "tables" are stored is a physical implementation detail.

So I still wonder what "one big storeroom" is :-)


--
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com


Reply With Quote
  #8 (permalink)  
Old 09-05-2007
Norman Peelman
 
Posts: n/a
Default Re: Is MySQL more ansi compatible now?

Martijn Tonies wrote:
>>>>> I haven't looked into MySQL version 5, but I can remember that
>>>>> previous versions had alot of quirks, like an odd definition of NULL
>>>>> etc.
>>>>>
>>>>> Is this better now? PostgreSQL was always regarded as the more
>>>>> standard complaint DB, has MySQL closed the gap?
>>>>>
>>>>> I am deciding currently what to take - PSQL or MySQL, and need some
>>>>> opinions. Thanks.
>>>>>
>>>> From http://dev.mysql.com/doc/refman/4.1/...-is-mysql.html
>>>>
>>>> MySQL is a relational database management system.
>>>>
>>>> A relational database stores data in separate tables rather than

> putting
>>>> all the data in one big storeroom.
>>> "one big storeroom"?
>>>
>>> What would that be? :-)

>> Some database systems store all the tables and indeces in one big file
>> instead of a separate file for each.

>
> Both solutions have nothing to do with the phrase "relational database
> management system".
>
> How "tables" are stored is a physical implementation detail.
>
> So I still wonder what "one big storeroom" is :-)
>
>


Instead of putting all data into one big box (table), it can be
spread out into smaller boxes (tables) that are easier to search through.

Norm
Reply With Quote
  #9 (permalink)  
Old 09-05-2007
Martijn Tonies
 
Posts: n/a
Default Re: Is MySQL more ansi compatible now?

> >>>>> I haven't looked into MySQL version 5, but I can remember that
> >>>>> previous versions had alot of quirks, like an odd definition of NULL
> >>>>> etc.
> >>>>>
> >>>>> Is this better now? PostgreSQL was always regarded as the more
> >>>>> standard complaint DB, has MySQL closed the gap?
> >>>>>
> >>>>> I am deciding currently what to take - PSQL or MySQL, and need some
> >>>>> opinions. Thanks.
> >>>>>
> >>>> From http://dev.mysql.com/doc/refman/4.1/...-is-mysql.html
> >>>>
> >>>> MySQL is a relational database management system.
> >>>>
> >>>> A relational database stores data in separate tables rather than

> > putting
> >>>> all the data in one big storeroom.
> >>> "one big storeroom"?
> >>>
> >>> What would that be? :-)
> >> Some database systems store all the tables and indeces in one big file
> >> instead of a separate file for each.

> >
> > Both solutions have nothing to do with the phrase "relational database
> > management system".
> >
> > How "tables" are stored is a physical implementation detail.
> >
> > So I still wonder what "one big storeroom" is :-)
> >
> >

>
> Instead of putting all data into one big box (table), it can be
> spread out into smaller boxes (tables) that are easier to search through.


??

this has to do with data normalization, not with being a RDBMS or not.

There are plenty of systems before RDBMS that use "file of record" or
whatever, and having multiple files etc...


I would say that the statement from the manuals is complete bogus.


--
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com


Reply With Quote
  #10 (permalink)  
Old 09-05-2007
Martijn Tonies
 
Posts: n/a
Default Re: Is MySQL more ansi compatible now?

> >>>>> I haven't looked into MySQL version 5, but I can remember that
> >>>>> previous versions had alot of quirks, like an odd definition of NULL
> >>>>> etc.
> >>>>>
> >>>>> Is this better now? PostgreSQL was always regarded as the more
> >>>>> standard complaint DB, has MySQL closed the gap?
> >>>>>
> >>>>> I am deciding currently what to take - PSQL or MySQL, and need some
> >>>>> opinions. Thanks.
> >>>>>
> >>>> From http://dev.mysql.com/doc/refman/4.1/...-is-mysql.html
> >>>>
> >>>> MySQL is a relational database management system.
> >>>>
> >>>> A relational database stores data in separate tables rather than

> > putting
> >>>> all the data in one big storeroom.
> >>> "one big storeroom"?
> >>>
> >>> What would that be? :-)
> >> Some database systems store all the tables and indeces in one big file
> >> instead of a separate file for each.

> >
> > Both solutions have nothing to do with the phrase "relational database
> > management system".
> >
> > How "tables" are stored is a physical implementation detail.
> >
> > So I still wonder what "one big storeroom" is :-)
> >
> >

>
> Instead of putting all data into one big box (table), it can be
> spread out into smaller boxes (tables) that are easier to search through.


??

this has to do with data normalization, not with being a RDBMS or not.

There are plenty of systems before RDBMS that use "file of record" or
whatever, and having multiple files etc...


I would say that the statement from the manuals is complete bogus.

Continueing on this: a RDBMS doesn't have to "store" data in "tables"
either. It has to return "resultsets" of data gotten from "relations". How
this data is actually stored behind the scenes is of no importance. If
you design a table, and the data is stored (physically on disk) in some
sort of linked list, it would be fine, as long as the software makes it so
that you can get the data in resultsets and it has metadata that resemble
a table.


--
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:33 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0