Question : Concatenate ntext field with text field in SQL view

I'm having a problem creating a field that combines a value in an ntext field and any other value.

For example, in an access query design view you would say "[value1] & " " & [value2]"

In SQL when i try "[value1] + ' ' + [value2]" if value2 is ntext (field with about 200-500 characters) i get an error saying invalid data type.

Please let me know how i can accoplish this.

thanks in advance.

Answer : Concatenate ntext field with text field in SQL view

Do you really need the ntext?  You're trying to combing to unlike fields and you will have to convert one.  If the field isn't all that long, you can do something like this:

convert(varchar(8000),value1) + value2

value1 would be the ntext field...
Random Solutions  
 
programming4us programming4us