sp_changearticlecolumndatatype (Transact-SQL)
Oracle yayın için makale sütun veri türü eşlemesi değiştirir.Bu saklı yordam, herhangi bir veritabanı üzerinde dağıtımcı adresindeki yürütülür.
Not
Verileri desteklenen Yayımcı varsayılan olarak sağlanan türleri arasındaki eşlemeleri yazın.Use sp_changearticlecolumndatatype yalnızca bu varsayılan ayarları geçersiz kılarken.
Sözdizimi
sp_changearticlecolumndatatype [ @publication= ] 'publication'
[ @article = ] 'article'
[ @column = ] 'column'
[ , [ @type = ] 'type' ]
[ , [ @length = ] length ]
[ , [ @precision = ] precision ]
[ , [ @scale = ] scale ]
[ , [ @publisher = ] 'publisher'
Bağımsız değişkenler
[ @publication= ] 'publication'
Is the name of the Oracle publication.publication is sysname, with no default.[ @article = ] 'article'
Is the name of the article.article is sysname, with no default.[ @ sütun=] 'column'
Is the name of the column for which to change the data type mapping.column is sysname, with no default.[ @type = ] 'type'
Is the name of the Microsoft SQL Server data type in the destination column.type is sysname, with a default of NULL.[ @length = ] length
Is the length of the SQL Server data type in the destination column.length is bigint, with a default of NULL.[ @ precision=] precision
Is the precision of the SQL Server data type in the destination column.precision is bigint, with a default of NULL.[ @ publisher =] 'publisher'
Specifies a non-SQL Server publisher.publisher is sysname, with a default of NULL.
Dönüş Kodu Değerleri
0 (başarılı) veya 1 (başarısız)
Açıklamalar
Sp_changearticlecolumndatatype Yayımcı desteklenen türler arasında varsayılan veri türü eşlemeleri geçersiz kılmak için kullanılır (Oracle ve SQL Server).Bu varsayılan veri türü eşlemeleri görüntülemek için yürütmek sp_getdefaultdatatypemapping.
sp_changearticlecolumndatatype yalnızca Oracle yayımcılar için desteklenmiyor.Saklı yordam karşı yürütülen bu bir SQL Server yayın sonuçlar bir hata.
sp_changearticlecolumndatatype değiştirilmelidir her makale sütun eşleme için yürütülmelidir.
İzinler
Yalnızca üyeleri sysadmin sabit sunucu rolü veya db_owner sabit veritabanı rolü olabilir yürütmek sp_changearticlecolumndatatype.
Ayrıca bkz.