insert into #ATTRIBUTES.entity#_doc (
#ATTRIBUTES.entity#_id, #ATTRIBUTES.entity#_doc, doc, contenttype, fname,
dt_created, creator_id, dt_updated, updater_id
) values (
,
,
,
,
,
,
,
,
)
Документы:
select d.#ATTRIBUTES.entity#_doc_id as doc_id, d.#ATTRIBUTES.entity#_doc as doc_title, d.fname, d.contenttype,
d.dt_created, a.shortname as creator, d.dt_updated, m.shortname as modifier
from #ATTRIBUTES.entity#_doc d
left outer join usr a on (d.creator_id=a.usr_id)
left outer join usr m on (d.updater_id=m.usr_id)
where #ATTRIBUTES.entity#_id=
#doc_title##fname#
#doc_title##fname#
documents: there is no such section "#ATTRIBUTES.section#"