|
Не работает count()!
|
|||
---|---|---|---|
#18+
на следующий запрос: Код: plaintext 1. 2.
DB2 выдает ошибку: manageDB getProccessError exception---- sql_code = -409 manageDB getProccessError exception---- sql_state = 42607 версия ДБ2 - 6.x Что такое? Помогите пожалуйста. ... |
|||
:
Нравится:
Не нравится:
|
|||
24.04.2003, 09:45 |
|
Не работает count()!
|
|||
---|---|---|---|
#18+
Все поля заданы правильно и тоже самое с фун-ями MAX и MIN работает, а COUNT нет! ... |
|||
:
Нравится:
Не нравится:
|
|||
24.04.2003, 10:02 |
|
Не работает count()!
|
|||
---|---|---|---|
#18+
Only COUNT(*) and COUNT(DISTINCT column) are allowed. ... |
|||
:
Нравится:
Не нравится:
|
|||
24.04.2003, 10:46 |
|
Не работает count()!
|
|||
---|---|---|---|
#18+
select count(*),id_theme from forum.themes group by id_theme; ... |
|||
:
Нравится:
Не нравится:
|
|||
24.04.2003, 10:50 |
|
Не работает count()!
|
|||
---|---|---|---|
#18+
Понятно, только * меня не устраивает а насчет only count(DISTINCT col) allowed THANKS! ... |
|||
:
Нравится:
Не нравится:
|
|||
24.04.2003, 10:54 |
|
Не работает count()!
|
|||
---|---|---|---|
#18+
вообще-то никакой разницы select count(*),id_theme from forum.themes group by id_theme; select count(distinct id_theme),id_theme from forum.themes group by id_theme; ... |
|||
:
Нравится:
Не нравится:
|
|||
24.04.2003, 11:12 |
|
|
start [/forum/topic.php?fid=43&fpage=164&tid=1606610]: |
0ms |
get settings: |
10ms |
get forum list: |
13ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
30ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
49ms |
get tp. blocked users: |
2ms |
others: | 258ms |
total: | 385ms |
0 / 0 |