sql server replication:
You cannot change the identity property of the field once it is
subscriber or a publisher. You can can only changed the seed and the
deafult value. I did not know if Ms allow it in SP3.
[quoted text, click to view] "Adam Right" <t@t.com> wrote in message news:<#jEiL5PXDHA.1816@TK2MSFTNGP09.phx.gbl>...
> Heya,
>
> I have table STOKMOTION with field described as;
> [INCREMENT] [numeric](18, 0) IDENTITY (1, 1) NOT NULL
>
> Now I want to make add NOT FOR REPLICATION statement and tried below;
>
> ALTER TABLE STOKMOTION ALTER COLUMN [INCREMENT] [numeric](18, 0) IDENTITY
> (1, 1) NOT NULL NOT FOR REPLICATION
> and it failed with below error:
>
> Server: Msg 156, Level 15, State 1, Line 1
> Incorrect syntax near the keyword 'IDENTITY'.
>
> How can I make it work ?
>
Heya,
I have table STOKMOTION with field described as;
[INCREMENT] [numeric](18, 0) IDENTITY (1, 1) NOT NULL
Now I want to make add NOT FOR REPLICATION statement and tried below;
ALTER TABLE STOKMOTION ALTER COLUMN [INCREMENT] [numeric](18, 0) IDENTITY
(1, 1) NOT NULL NOT FOR REPLICATION
and it failed with below error:
Server: Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'IDENTITY'.
How can I make it work ?
Thnks & BRgds.