Chapter 10. SQL Remote Administration
Defaultsetting (no SEND clause) Ifany user has no SEND AT or
SENDEVERY clause, the Message Agent sends messages every time it
isrun, and then stops: itruns in batch mode.
Settingthe send
frequencyin Sybase
Central
InSybase Central, you can specify the send frequency in the following ways:
Whenyou make an existing user or group remote. Formore information,
see“Granting REMOTE permissions” on page 204.
Onthe SQL Remote tab of the property sheet of a remote user or group.
Youcan access the property sheet by right-clicking the remote user or
groupand choosing Properties from the popup menu.
Granting CONSOLIDATEpermissions
Inthe remote database, the publish and subscribe user IDs are inverted
comparedto the consolidated database. Thesubscriber (remote user) in the
consolidateddatabase becomes the publisher in the remote database. The
publisherof the consolidated database becomes a subscriber to publications
fromthe remote database, and is granted CONSOLIDATE permissions.
Ateach remote database, the consolidated database must be granted
CONSOLIDATEpermissions. When you produce a remote database by
runningthe database extraction utility, the GRANT CONSOLIDATE
statementis executed automatically at the remote database.
AdaptiveSer ver
Anywhereexample Thefollowing Adaptive Server Anywhere statement grants CONSOLIDATE
permissionsto the hq_useruser ID, using the VIM e-mail system:
GRANT CONSOLIDATE TO hq_user
TYPE vim
ADDRESS ’hq_address’
Thereis no SEND clause in this statement, so the default is used and
messageswill be sent to the consolidated database every time the Message
Agentis run.
AdaptiveSer ver
Enterprise example Thefollowing Adaptive Server Enterprise statement grants CONSOLIDATE
permissionsto user hq_user ,using the file message link:
exec sp_grant_consolidate ’hq_user’, ’file’, address
go
RevokingREMOTE and CONSOLIDATE permissions
Auser can be removed from a SQL Remote installation by revoking their
REMOTEpermissions. Whenyou revoke remote permissions from a user or
group,you revert that user or group to a normal user/group. Youalso
automaticallyunsubscribe that user or group from all publications.
207