sp_addmergepartition (Transact-SQL)
Değerleri, süzülmüş bir abonelik için dinamik olarak filtrelenmiş bir bölüm oluşturur. host_name or suser_sname abone adresindeki.Bu saklı yordam, yayımlanmış ve el ile disk bölümleri oluşturmak için kullanılan veritabanı yayımcısına sırasında yürütülür.
sp_addmergepartition [ @publication = ] 'publication'
, [ @suser_sname = ] 'suser_sname'
, [ @host_name = ] 'host_name'
Bağımsız değişkenler
[ @ yayın= ] 'publication'
Is the merge publication on which the partition is being created.publication is sysname, with no default.If suser_sname belirtilen değeri hostname NULL olmalıdır.[ @ suser_sname= ] 'suser_sname'
Is the value used when creating the partition for a subscription that is filtered by the value of the SUSER_SNAME function at the Subscriber.suser_sname is sysname, with no default.[ @ host_name= ] 'host_name'
Is the value used when creating the partition for a subscription that is filtered by the value of the HOST_NAME function at the Subscriber.host_name is sysname, with no default.
Dönüş Kodu Değerleri
0 (başarılı) veya 1 (hata)
Remarks
sp_addmergepartition birleştirme çoğaltmasında kullanılır.
İzinler
Yalnızca üyeleri sysadmin sabit sunucu rolü veya db_owner $ $ $ $ veritabanı rolü olabilir yürütmek sp_addmergepartition.