Re: foreign keys in MyISAM?

2005-09-24 Thread Martijn Tonies
> I don't know the date you're asking about. However, you can
> implement the FKs' features using stored procedures in MySQL 5.0.
> For a small example have a look at the nice article about stored
> procedures:
> http://dev.mysql.com/tech-resources/articles/mysql-storedprocedures.html
>

Hmmm... given the no-transaction nature of MyISAM, this would
probably fail completely :-)

Even with transactions, it could easily fail...

With regards,

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


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: foreign keys in MyISAM?

2005-09-24 Thread Gleb Paharenko
Hello.



I don't know the date you're asking about. However, you can

implement the FKs' features using stored procedures in MySQL 5.0.

For a small example have a look at the nice article about stored

procedures:

http://dev.mysql.com/tech-resources/articles/mysql-storedprocedures.html





Jacek Becla wrote:

> Hi,

> 

> The documentation says "At a later stage, foreign key constraints

> will be implemented for MyISAM tables as well". Does anybody know

> what is the timescale?

> 

> thanks,

> Jacek

> 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
   <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: foreign keys in MyISAM?

2005-09-23 Thread Kevin Burton


On Sep 23, 2005, at 12:27 PM, Jacek Becla wrote:


Hi,

The documentation says "At a later stage, foreign key constraints
will be implemented for MyISAM tables as well". Does anybody know
what is the timescale?



I'm not sure there is a timescale.. I think it might be pretty open  
ended.  You could check out the changelog for MySQL 5 if you're  
really interested.  I wish the MySQL guys would start a blog or  
something so you could figure out what's going on with their  
development.


I'd like MyISAM to just keep the metadata and not enforce the FKs.   
That would be pretty nice.  Same with INNODB.


Kevin

--

Kevin A. Burton, Location - San Francisco, CA
  AIM/YIM - sfburtonator,  Web - http://www.feedblog.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



foreign keys in MyISAM?

2005-09-23 Thread Jacek Becla

Hi,

The documentation says "At a later stage, foreign key constraints
will be implemented for MyISAM tables as well". Does anybody know
what is the timescale?

thanks,
Jacek

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]