|
Blue Forest http://www.lslnet.com at 11:08 on July 8, 2006
Logexec () function is what? Search engines search less than If that, we hope to get help |
What to see? Not very familiar with how it seems. |
Is --
There were many in the storage process, the category seems to be on the log, but we have not found a few days ago has double data on the Internet do not have the relevant questions. |
The second problem is that I find the shows you want to do? May be an internal function |
This thing In the writing process, the use of a judge
/*
** This transaction also writes a log record for replicating the
** Invocation of this procedure. If logexec () fails, the transaction
** Is aborted.
**
** IMPORTANT : The name is significant and is used by rs_logexec
** Replication Server.
*/
Begin transaction rs_logexec
Insert into sysalternates (suid, altsuid)
Values (suid,asuid)
/*
** Write the log record to replicate this invocation
** Of the stored procedure.
*/
If (logexec ()> 1)
Begin
/*
** 17756, "The execution of the stored procedure '%1!'
** In database '%2!' was aborted because there
1998 was an error in writing the replication log
** Record. "
*/
Db_namedbname = select ()
Raiserror 17,756, "sp_addalias"dbname
Rs_logexec transaction rollback
Return (1)
End
Commit transaction rs_logexec
This process is useful, and would like to read it, but this step, I think the possibility n |
| |