Database.sp.readClobContent()
Signature
String readClobContent(Object clob)
Description
Reads content from the specified CLOB.
Parameters
Name | Type | Description |
clob | Object | |
Returns
Type | Description |
String | Returns next available data(as string) from the CLOB. Returns null when no-more content is available to read. |
Example
Code Snippet:
Object clob = Database.sp.getObjectAtIndex(handle, 1);
String content = Database.sp.readClobContent(clob);
while (content != null) {
//Use content as per your requirement content = Database.sp.readClobContent(clob);
}