Click here to Skip to main content
11,641,209 members (65,390 online)
Click here to Skip to main content

Tagged as

Read clob from oracle

, 6 Jan 2011 CPOL 4.1K 1
Rate this:
Please Sign up or sign in to vote.
You should watch out for cases where the return value could be null otherwise you'll get an exception, and your call to ToString is redundant.OracleClob clob = Params[3].Value as OracleClob;if (clob.IsNull) errorCode = null;else errorCode = clob.Value;
You should watch out for cases where the return value could be null otherwise you'll get an exception, and your call to ToString is redundant.

OracleClob clob = Params[3].Value as OracleClob;
if (clob.IsNull)
   errorCode = null;
else
   errorCode = clob.Value;

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Alex Furmanski
Web Developer
United Kingdom United Kingdom
No Biography provided

You may also be interested in...

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150731.1 | Last Updated 6 Jan 2011
Article Copyright 2011 by Alex Furmanski
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid