|
Массивы-константы
|
|||
---|---|---|---|
#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: |
9ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
79ms |
get topic data: |
14ms |
get forum data: |
3ms |
get page messages: |
55ms |
get tp. blocked users: |
3ms |
others: | 260ms |
total: | 442ms |
0 / 0 |