sql - How to append text to memo field? -


i'm using advantage database server 9.10, , want append text memo field.

i tried way,

update    mytable  set    memo =   cast(memo sql_varchar(max))           + cast(' appended string' sql_varchar(max))     pk = '80' 

but not work,

anybody know how this?

there no varchar(max) data type in ads, can cast sql_varchar or sql_char instead.

correct syntax:

update   mytable  set     memo =   cast(memo sql_varchar)            + cast(' appended string' sql_varchar)      pk = '80' 

you can find valid list of data types cast , convert in ads documentation:

http://devzone.advantagedatabase.com/dz/webhelp/advantage10.1/master_miscellaneous_functions.htm


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -