Creating a transfer RPC  Executing a transfer RPC

Chapter 10: Using Destination-Template Transfer

Transfer RPC example

The following example outlines how a stored procedure shows a bulk copy transfer statement to be received as an RPC.

create procedure replauth as
begin
execute servername. . .transfer
“to ‘servername2 userid password’;”,
 “with replace into authors;”,
 “select * from authors;”
end

where:





Copyright © 2005. Sybase Inc. All rights reserved. Executing a transfer RPC

View this book as PDF