Click here to Skip to main content
12,692,288 members (30,436 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

5.2K views
1 bookmarked
Posted

Read clob from oracle

, 6 Jan 2011 CPOL
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...

Pro

Comments and Discussions

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