Search
 
SCRIPT & CODE EXAMPLE
 

SQL

sql server select value large text

SELECT CONVERT(XML, [column_here]) AS [Value]
FROM [TABLE] 

SELECT CAST('<![CDATA[' + CAST(column_here as nvarchar(max)) + ']]>' AS XML) FROM [TABLE] 
Comment

PREVIOUS NEXT
Code Example
Sql :: select row from mysql where date more than 30 days 
Sql :: give a column name to values generated from case statement in sql 
Sql :: mysql add text to existing field 
Sql :: select distinct 
Sql :: mamp mysql path mac 
Sql :: select last 2 characters sql 
Sql :: sql how to duplicate a table 
Sql :: mysql select tables with name like 
Sql :: update with inner join postgres 
Sql :: how to change column name in sql 
Sql :: display 2 numbers after decimal mysql 
Sql :: inner join sql oracle 
Sql :: get sql instance name 
Sql :: DROP TABLes regardless of constraints 
Sql :: savepoint in sql 
Sql :: mysql create view full table 
Sql :: recently updated stored procedure in sql server 
Sql :: create table employees oracle 
Sql :: update query with between in mysql 
Sql :: sqlite show table indexes 
Sql :: group_concat in mysql 
Sql :: sql date format 
Sql :: oracle revoke 
Sql :: how to select unique element in sql 
Sql :: check table exist postgresql 
Sql :: linq join 
Sql :: postgres select duplicate columns 
Sql :: mysql money value 
Sql :: sql paging query 
Sql :: sql get inserted primary key 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =