SQL is fetching results BLANK checks but the data has no BLANKS

Поиск
Список
Период
Сортировка
Искать
От
M Sarwar
Тема
SQL is fetching results BLANK checks but the data has no BLANKS
Дата
Msg-id
DM4PR19MB59789AC5B76EA5829DF176E9D32FA@DM4PR19MB5978.namprd19.prod.outlook.com
Список
Дерево обсуждения
Re: SQL is fetching results BLANK checks but the data has no BLANKS Erik Wienhold <ewie@ewie.name>
Re: SQL is fetching results BLANK checks but the data has no BLANKS M Sarwar <sarwarmd02@outlook.com>
Re: SQL is fetching results BLANK checks but the data has no BLANKS "David G. Johnston" <david.g.johnston@gmail.com>
Re: SQL is fetching results BLANK checks but the data has no BLANKS M Sarwar <sarwarmd02@outlook.com>
 

SELECT TEST_NUMBER 
FROM BRONX.TEST_TEST_DETAILS_ALL_MCM
WHERE LEFT(TEST_DESCRIPTION, 1)  =  ' '

;

The above SQL is fetching lot of data but when I take closer look at the data in the table TEST_TEST_DETAILS_ALL_MCM, I see no prefixed BLANKS in the column TEST_DESCRIPTION.

 

   test_description character varying(50) COLLATE pg_catalog."default",   -- TEST_DESCRIPTION, type

 

What could be the reason here for fetching the data when I do not have the data which has prefixes of BLANK , ‘ ‘.

 

Thanks,

Sarwar

 

Phasing 90 degrees temperature  Fahrenheat in EST today


В списке pgsql-admin по дате отправления
От: jacob ndinkwa
Дата:
От: M Sarwar
Дата:
FAQ