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

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -