sys.sp_repladdcolumn
general #stored-procedure
Description
Adds a column to an existing published table article. Allows the new column to be added to all publishers that publish this table, or just add the column to a specific publication that publishes the table. This stored procedure is executed at the Publisher on the publication The name of the table article that contains the new column to add. This stored procedure is deprecated, and is being supported for backward compatibility. It
Syntax
sp_repladdcolumn
[ @source_object = ]
N
'source_object'
, [ @column = ]
N
'column'
, [ @typetext = ]
N
'typetext'
[ , [ @publication_to_add = ]
N
'publication_to_add'
]
[ , [ @from_agent = ] from_agent ]
[ , [ @schema_change_script = ]
N
'schema_change_script'
]
[ , [ @force_invalidate_snapshot = ] force_invalidate_snapshot ]
[ , [ @force_reinit_subscription = ] force_reinit_subscription ]
[ ; ]