sql - How can I add GETDATE() command on ntext field? -
i add dates on ntext field.
update customer set notes='account has been updated'+ cast getdate()
this when run query.
"operand type clash: datetime incompatible ntext"
can me this?
you need cast date varchar can concatenated text/varchar have.
'account has been updated'+ cast(getdate() varchar(20))
Comments
Post a Comment