Re: viewing characters in character sets
No plan.
You could write a stored procedure. It would look vaguely like this for latin1:
create procedure pf () begin declare v int default 0; declare continue handler for sqlexception begin end; create table t (s1 char(1) character set latin1); while v <= 255 do set @v = concat('insert into t values (0x',hex(v),')'); prepare stmt1 from @v; execute stmt1; set v = v + 1; end while; select * from t where s1<>''; end//
If you are the same person as the 'antoun' who writes such helpful comments in fr.comp.applications.sgbd, then you will have no trouble writing a good procedure.
Peter Gulutzan
MySQL AB
Subject
Views
Written By
Posted
2554
July 22, 2006 06:09AM
1750
July 25, 2006 07:50AM
1547
July 25, 2006 10:14AM
Re: viewing characters in character sets
1709
July 26, 2006 01:35PM
1798
July 27, 2006 07:23AM
1588
July 27, 2006 12:29PM
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.