|
|
|
ХП в InterBase
|
|||
|---|---|---|---|
|
#18+
Нужно в цикле выбранных записей накопить в строковую переменную значение поля через запятую. Пишу: Kod char(40) . . for select p.npoluch from poluch p, agenty a where p.nid=:nid and p.nan=0 and a.nid=p.nid and a.nan=0 and (a.nagent <> :nag) order by a.nom into :npoluch do kod = kod||','||npoluch||','; или kod = kod+npoluch||','; При этом в базу записывается пустая строка. Кто-нибудь знает, как это правильно сделать? Помогите , плиз. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.05.2003, 18:58 |
|
||
|
|

start [/forum/topic.php?fid=40&fpage=518&tid=1580504]: |
0ms |
get settings: |
9ms |
get forum list: |
18ms |
check forum access: |
3ms |
check topic access: |
4ms |
track hit: |
45ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
38ms |
get tp. blocked users: |
1ms |
| others: | 237ms |
| total: | 369ms |

| 0 / 0 |
