![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
create table foo ( id integer not null primary key, name char(6) not null, value varchar(255) ); insert into foo values (1,'FLAVIO','hi!'); insert into foo values (2,'FLA ' ,'hi!'); insert into foo values (3,' ','hi!'); insert into foo values (4,' d ','hi!'); test=> SELECT * from foo ; id | name | value ----+--------+------- 1 | FLAVIO | hi! 2 | FLA | hi! 3 | | hi! 4 | d | hi! (4 righe) test=> SELECT * from foo where upper(name) like '% '; id | name | value ----+------+------- (0 righe) |
![]() |
| Thread Tools | |
| Display Modes | |
| |