Banner Image Banner Image Banner ImageHomeContactLinksArtBlog Archives
Useless MySQL Syntax by Neorush 2005-12-02 - 04:52:57
      Just found this one entertaining, so I thought I'd share; from the mysql manual at http://dev.mysql.com/doc/refman/5.0/en/create-table.html:

For other storage engines, MySQL Server parses the FOREIGN KEY and REFERENCES syntax in CREATE TABLE statements, but without further action being taken. The CHECK clause is parsed but ignored by all storage engines.

In other words....the FOREIGN KEY, REFERENCES, and CHECK in a create table statement don't actually do anything.

There are no comments for this post yet.

Home | Contact | Linkage | Art | Archives
Server has been up: 18 days 22 hrs 13 mins and 6 secs
Built in 0.00956 secs.
Valid HTML 4.01! Valid CSS! GeoURL