I am trying to update a table in a server(ServerA) using a linked share connection from ServerB and i Got the below Error
The OLE DB provider "SQLNCLI10" for linked server "ServerA" could not UPDATE table "[ServerA].[MyDb].[dbo].[tbl_name]" because of column "CreateDt". Conversion failed because the data value overflowed the data type used by the provider.
This is the query I Used :
update [ServerA].[MyDb].[dbo].[tbl_name]
set transfer_fl = 1,
CreateDt = getdate()
where transfer_fl<>'1'
the column CreateDt is of data type smalldatetime and it already has a value in it.
Can somebody give explain me why this happens.
1or string'1'