This example query shows how
SaveReauthQuery
is used with <AuthBy
AKASQL>
. The bind variables marked with question marks are
used with SaveReauthQueryParam
s listed below the
query.
SaveReauthQuery replace SIMUSER (IMSI, REAUTH_ID, COUNTER, \
MK, K_AUT, K_ENCR, K_RE, VERSION) \
values (?, ?, ?, ?, ?, ?, ?, ?)
SaveReauthQueryParam %1
SaveReauthQueryParam %0
SaveReauthQueryParam %2
SaveReauthQueryParam %3
SaveReauthQueryParam %4
SaveReauthQueryParam %5
SaveReauthQueryParam %6
SaveReauthQueryParam %7
Instead of the previous example, you can
also use the following query without the
SaveReauthQueryParam
s. In this case, SQL quoted
values are used to create the SQL query.
SaveReauthQuery replace SIMUSER (IMSI, REAUTH_ID, COUNTER, \
MK, K_AUT, K_ENCR, K_RE, VERSION) \
values (%1, %0, %2, %3, %4, %5, %6, %7)