|
|
|
Не работает 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:37 |
|
||
|
Не работает count()!
|
|||
|---|---|---|---|
|
#18+
Все поля заданы правильно и тоже самое с фун-ями MAX и MIN работает, а COUNT нет! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.04.2003, 10:02:13 |
|
||
|
Не работает count()!
|
|||
|---|---|---|---|
|
#18+
Only COUNT(*) and COUNT(DISTINCT column) are allowed. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.04.2003, 10:46:27 |
|
||
|
Не работает count()!
|
|||
|---|---|---|---|
|
#18+
select count(*),id_theme from forum.themes group by id_theme; ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.04.2003, 10:50:13 |
|
||
|
Не работает count()!
|
|||
|---|---|---|---|
|
#18+
Понятно, только * меня не устраивает а насчет only count(DISTINCT col) allowed THANKS! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.04.2003, 10:54:08 |
|
||
|
Не работает 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:26 |
|
||
|
|

start [/forum/topic.php?fid=43&msg=32147465&tid=1606610]: |
0ms |
get settings: |
11ms |
get forum list: |
20ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
213ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
59ms |
get tp. blocked users: |
1ms |
| others: | 231ms |
| total: | 558ms |

| 0 / 0 |
