please give me some info...
thanks in advance.
User Profile
Collapse
-
Is it possible to use sqlloader to give input to a pl/sql procedure?
ie, not a direct insertion/updation to the DB. instead a pl/sql procedure to be called with each row of the csv file.
any help would be greately appreciated.Leave a comment:
-
Hi Bhushan,
thanks for the reply. I will do some analysis in that way.
-sumesh.Leave a comment:
-
any help would be of very much useful...
Please give some hint...thats all needed. I dont have time to go throgh a full text book to search for a solution. Also done lot of googling...plea se help.Leave a comment:
-
Bulk inserts to DB through PL/SQL
Hi,
I have to solve a problem relating to insertion/updation of millions of
rows to DB (Oracle).
The current implementation of the problem is described as follows:
A C++ application receives data from many sources and after processing
it inserts this data to DB. There are various procedures to handle the insert
requests corresponding to various tables. The problem is that for each
row's insertion... -
you are not supposed to ask full programs here...you should try it out yourself..and if you have specific doubt , then ask in the forum.Leave a comment:
-
there is an error at the following line..
21 free( value ); - you cannot free a statically allocated memoryLeave a comment:
-
you can put a break statement in place of ????, so that the program will break from the for loop .
string s = "Hello World";
string t;
for (size_t k = 0; k!=s.size(); k++)
{if (isalpha(s[k]))
t+=s[k];
else
break;
}
cout << t << endl;Leave a comment:
-
I hope the below code will help you...there may be compilation errors..I haven't compiled...
#include<stdio. h>
char selection;//selection can be
// P,S,T,C,B or N
double payment;// amount corresponding to
//the selection
void Menu();
int CheckMoney(doub le item_cost);
void CoinMenu();
int main()
{
double...Leave a comment:
-
If I understand your problem correctly , I would write the
function
Document *addDocument(io stream& inStream, string documentId);
as follows:
Document *Repository::ad dDocument(iostr eam& inStream, string documentId)
{
char line[250];
inStream.getlin e(line,250);
char * ptrToToken = NULL;
ptrToToken = strtok (line," ,.-");//assumes words are...Leave a comment:
-
when a pointer is freed the memory it pointing to is freed...after freeing also the pointer points to that particular location in memory.Leave a comment:
-
Yes in "vector<wor d> &vw" you have the words tokenized.
From your reply I understand your constructor of Word looks like
Word::Word(stri ng word), If that is the case you may have to write a new constructor..
You cannot pass vector<word> to your existing constructor...!
If the explanation is not satisfactory, please give more details of the classes with examples.Leave a comment:
-
Hi,
There are many ways in which you can store data into other class object, Bafna already gave you one way.
you just define your other calss constructor like following:
Word::Word(verc tor<words> &vwords)
{
m_vectorWords = vwords;//m_verctorWords is a data member of type
// vector<words>
}
One another possible way could...Leave a comment:
No activity results to display
Show More
Leave a comment: