Visit Our UNIX and Linux User Community


Creating CLOB object in unix


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Creating CLOB object in unix
# 1  
Old 09-04-2009
Creating CLOB object in unix

Hi All,

I have a big file (basically .log file) want to store in oracle database.

Please help me in preparing CLOB object in unix.

The log file is stored in some location on unix file server, prepare clob of that file and store in DB.

Any sample code or link

Thanks
Rajesh
# 2  
Old 09-04-2009
Bumping up posts or double posting is not permitted in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Thank You.

Proceed here:

https://www.unix.com/unix-dummies-que...#post302350570

The UNIX and Linux Forums.

Previous Thread | Next Thread
Test Your Knowledge in Computers #682
Difficulty: Easy
Steve Job's was the primary founder and majority shareholder of Pixar
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

C object code compatiblity with UNIX and Linux

Is it possible to use an object code compiled on Unix- sun Os sparc on Redhat linux OS. In our new application we have to create object file on Unix os and then use the object code on Linux OS to compile pro*c code but when we are trying to achieve this we get error: file in wrong format. how can... (3 Replies)
Discussion started by: vivek chaudhary
3 Replies

2. Programming

How to initialize an object with another object of different class?

How to initialize an object of class say "A", with an object of type say "B". The following code give the error message "error: conversion from A to non-scalar type B requested" #include <iostream> using namespace std; class B; class A{ public: A() { cout <<"\nA()" << endl; } ... (1 Reply)
Discussion started by: techmonk
1 Replies

3. Shell Programming and Scripting

Fetching CLOB value from oracle into shell script

Hi, Can anybody let me know how i can achieve the below output. I have a select query which selects two columns. I need to spool the value into a dat file for each row that is returned from the query with the coulumn1 as the name of the dat file . ex: column1: location_id column2:... (1 Reply)
Discussion started by: justchill
1 Replies

4. Programming

Could't pass clob from my shell script

Hello Everyone, I am trying to write a shell script that will read from a file and will call a pl/sql procedure that takes clob as input. Now as varchar2 has a limit much less than clob so i can't just pass the input as in one variable.(size may be >32K). This is what i tried. Not posting the... (0 Replies)
Discussion started by: mayukh.banerjee
0 Replies

5. UNIX for Dummies Questions & Answers

Does Unix make clob or blob objects

Hi I have a log file stored in unix file server i need to prepare the clob object of that and store in Oracle Database. Please suggest me or give me some examples Thanks Raj (0 Replies)
Discussion started by: rajeshorpu
0 Replies

6. UNIX for Dummies Questions & Answers

Object reference not set to an instance of an object

I am new to PHP and UNIX. I am using Apache to do my testing on a Windows Vista machine. I am getting this error when I am trying to connect to a web service. I did a search and did not see any posts that pertain to this. Here is my function: <?php function TRECSend($a, $b, $c, $d,... (0 Replies)
Discussion started by: EddiRae
0 Replies

7. UNIX for Dummies Questions & Answers

to make groupings of object using unix command

suppose u have a file 1 2 2 -3 2 2 -3 4 5 -2 -3 -4 -4 -2 1 1 1 so output should be lie that one for groupings... (1 Reply)
Discussion started by: cdfd123
1 Replies

8. Programming

creating object files in a specific directory

hello, i have a makefile in which i am specifying the option for creating the object files of the source files. The option which i am using is this : gcc -c main.c first.c by default these object files are created in the same directory in which the makefile is present. what option... (1 Reply)
Discussion started by: svh
1 Replies

9. UNIX for Advanced & Expert Users

Ostream object is not printing message on HP-UNIX for debug mode

The following C++ code segment is not working in debug mode build on HP-UNIX machine. It is not printing "Hello World" message on the screen. While it is working fine in release mode build. ============================================== class KLogStreamBuf : public streambuf { public:... (0 Replies)
Discussion started by: heena
0 Replies

10. Shell Programming and Scripting

creating an "object"

I searched for this but not sure I am using the correct terminology. To meet audit requirements, I need to make sure scripts that may contain sensitive information are not readable by anyone but authorised users. I tried using unix crypt but then I can not execute script. I have never seen... (4 Replies)
Discussion started by: MizzGail
4 Replies

Featured Tech Videos