|
Массивы-константы
|
|||
---|---|---|---|
#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&msg=32051503&tid=2008303]: |
0ms |
get settings: |
9ms |
get forum list: |
16ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
41ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
52ms |
get tp. blocked users: |
2ms |
others: | 249ms |
total: | 393ms |
0 / 0 |