/ Published in: SQL
                    
                                        
A few examples of the TO_NCLOB function.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
--TO_NCLOB
--Example 1
SELECT first_name,
TO_NCLOB(first_name) AS nclob_value
FROM student
WHERE student_id = 1;
--Example 2
CREATE TABLE datatype_test (
clob_column CLOB
);
INSERT INTO datatype_test (nclob_column)
VALUES ('This is ä tëst');
SELECT nclob_column, TO_NCLOB(nclob_column) AS nclobvalue
FROM datatype_test;
URL: http://www.databasestar.com/oracle-to_nclob/
Comments
 Subscribe to comments
                    Subscribe to comments
                
                