Home Projects Jobs Clientele Contact


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing "Create Topic" [was: Identical UMO titles in UU]

It is possible to return a structure from stored proc. Unfortunately, ODBC has no support for this. I'd try to return two values, but it would take some time.

2007/4/25, sergey@total-knowledge.com <sergey@total-knowledge.com>:
When I modify topic I have to deal with topic_content_id, so I need to get
this value on topic creation.
Currently my Topic::create() returns topic_id(b/c topic_create() returns
topic_id). I'd like to avoid running the additional query to get
topic_content_id by topic_id.
Is it possible to return structures from stored procedure? Any ideas how I
should deal with this?

Alexey Parshin,

Authoright © Total Knowledge: 2001-2008