This works in 7.2.1, not in 7.3.2

Поиск
Список
Период
Сортировка
От Frank Millman
Тема This works in 7.2.1, not in 7.3.2
Дата
Msg-id 000c01c346ba$415189f0$0401a8c0@chagford
обсуждение исходный текст
Ответы Re: This works in 7.2.1, not in 7.3.2  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Re: This works in 7.2.1, not in 7.3.2  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi all
 
The following works in 7.2.1 -
 
1. select count(*) from SysUsersCompanies where UserRowId = 3 ;
2. select substring('NY',(select count(*) from SysUsersCompanies where UserRowId = 3)+1,1) ;
 
The first select returns either 1 or 0
The second one uses the result in a more complex expression, and returns either 'Y' or 'N'
 
In 7.3.2, the first select behaves the same, but the second one returns NULL.
 
Any advice will be appreciated.
 
Frank Millman
 

В списке pgsql-general по дате отправления:

Предыдущее
От: Justin Tocci
Дата:
Сообщение: Complex rules and working with MS Access: SOLVED
Следующее
От: "Zeno R.R. Davatz"
Дата:
Сообщение: corrupt data