Not knowing the version or programming APIs
means my answers are general (and so may or may
not apply to your specific case).
Quote:
1) Is there way to set timeout per SQL statement. |
That would depend upon you API and how you
can coded your application. For Embedded SQL and
ODBC (at least) another thread can cancel and
running statement.
Through the ODBC API you can set the statement
attribute SQL_ATTR_QUERY_TIMEOUT. I don't
if other APIs offer this capability.
I don't know if this your question is 'does this work '
or something a little more general.
Quote:
2) How to invoke scripts as ASA server startup/shutdown. |
I guess that depends on what you mean by invoke (one time or
every startup) and how flexible you need it.
I do expect (as of version 7 and up) the Event handler capabilities
may answer your requirements. The "DatabaseStart" or even
the "Connect" are probably quite useful to you.
"Nguyen, Vu [SKY:QW54:EXCH]" <vnguyen (AT) americasm01 (DOT) nt.com> wrote
Quote:
Hi all,
I've got some general questions:
1) Is there way to set timeout per SQL statement.
2) How to invoke scripts as ASA server startup/shutdown.
Thanks,
Vu |