2015-04-03 23:19 GMT+02:00 Giovanni Porcari <giovanni.porc...@softwell.it>:
> > > Il giorno 03/apr/2015, alle ore 22:12, Nicola Larosa <n...@teknico.net> > ha scritto: > > > > Continuo a usare PostgreSQL, e ad evitare MySQL, ma solo per motivi > > storici ed accumulata diffidenza, non piĆ¹ per motivi tecnici o presunti > tali. > > > Abiura!!!!! > > Ciao, io suggerisco un'occhiatina qui: http://grimoire.ca/mysql/choose-something-else Per quanto mi riguarda, un paio delle cose secondo me piu' divertenti sono queste: mysql> select 'a' = 'A '; +------------+ | 'a' = 'A ' | +------------+ | 1 | +------------+ cioe', una stringa di un carattere e' uguale a una stringa di due caratteri; mysql> create table dropme (a integer , b varchar(20) not null); Query OK, 0 rows affected (0.08 sec) mysql> insert into dropme (a) values (1); Query OK, 1 row affected, 1 warning (0.00 sec) Mmmmm... Ma b non era not null? mysql> select * from dropme where b=''; +------+---+ | a | b | +------+---+ | 1 | | +------+---+ Ah, ecco, ma il '' chi glie lo ha detto? S > G > _______________________________________________ > Python mailing list > Python@lists.python.it > http://lists.python.it/mailman/listinfo/python >
_______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python