|
Массивы-константы
|
|||
---|---|---|---|
#18+
Как сравнить массив-константу с элементами типа smallint с колонкой таблицы типа smallint? Т.е. что-то вроде ... WHERE '{1,2,3,4,5}' *= column ... Ругается "Unable to identify an operator '*=' for types 'unknown' and 'smallint' You will have to retype this query using an explicit cast". CAST( '{1,2,3,4,5}' AS smallint[] ) тоже работать не хочет - на [] ругается. Неужели этого в PgSQL сделать нельзя? :-( ... |
|||
:
Нравится:
Не нравится:
|
|||
19.09.2002, 07:29 |
|
|
start [/forum/topic.php?fid=53&fpage=368&tid=2008303]: |
0ms |
get settings: |
8ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
34ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
43ms |
get tp. blocked users: |
2ms |
others: | 246ms |
total: | 370ms |
0 / 0 |