MySQL Forums
Forum List  »  MyISAM

Re: compression
Posted by: Apachez
Date: April 24, 2006 04:51PM

You could otherwise use COMPRESS() and UNCOMPRESS() in your query.

Such as:

INSERT t1 (col1, col2, col3) VALUES (1, 2, COMPRESS('some text'));

and to read:

SELECT col1, col2, UNCOMPRESS(col3) AS col3_u FROM t1;

For more info http://dev.mysql.com/doc/refman/5.0/en/encryption-functions.html

Options: ReplyQuote


Subject
Views
Written By
Posted
5686
April 24, 2006 10:58AM
2091
April 24, 2006 11:43AM
Re: compression
2053
April 24, 2006 04:51PM
1856
July 08, 2006 01:00AM


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.