Click here to Skip to main content
15,914,642 members
Home / Discussions / Database
   

Database

 
GeneralRe: pivot table into anther table Pin
Mycroft Holmes3-Aug-08 21:13
professionalMycroft Holmes3-Aug-08 21:13 
GeneralRe: pivot table into anther table Pin
prithaa4-Aug-08 0:49
prithaa4-Aug-08 0:49 
GeneralRe: pivot table into anther table Pin
Mycroft Holmes4-Aug-08 0:56
professionalMycroft Holmes4-Aug-08 0:56 
GeneralRe: pivot table into anther table Pin
prithaa4-Aug-08 1:23
prithaa4-Aug-08 1:23 
GeneralRe: pivot table into anther table Pin
Mycroft Holmes4-Aug-08 2:20
professionalMycroft Holmes4-Aug-08 2:20 
GeneralRe: pivot table into anther table Pin
prithaa4-Aug-08 6:07
prithaa4-Aug-08 6:07 
GeneralRe: pivot table into anther table Pin
Mycroft Holmes4-Aug-08 14:08
professionalMycroft Holmes4-Aug-08 14:08 
QuestionAdo AppendChunk() fucntion did not save data to oracle database Pin
yklim2-Aug-08 0:10
yklim2-Aug-08 0:10 
I have try to use ado AppendChunk() fucntion in vc++6 to save to a clob data type to oracle database, but when i read back, the data was not save to the oracle database. Anyone know what is the problem?

// BEFORE THIS FUNTION, ORACLE DATABASE WAS CONNECTED
bool ADODBHandler::UpdateMap()
{
AdoNS::_RecordsetPtr rst;

try
{
..........................

rst.CreateInstance("ADODB.Recordset");

rst->CursorType = AdoNS::adOpenKeyset;
rst->LockType = AdoNS::adLockOptimistic;

HRESULT hr = rst->Open("pcmap.WAFERMAP3_PROCESSMAP", _variant_t((IDispatch*)m_cpConnection,true), AdoNS::adOpenKeyset, AdoNS::adLockOptimistic, AdoNS::adCmdTable);

rst->AddNew();

rst->Fields->GetItem("LOTNO")->PutValue(lotno);
rst->Fields->GetItem("WAFERNO")->PutValue(WaferNo);
rst->Fields->GetItem("WAFERID")->PutValue(Waferid);
rst->Fields->GetItem("PROBER_FILE")->PutValue(ProberFile);
rst->Fields->GetItem("ORIENT")->PutValue(Orient);
rst->Fields->GetItem("ROW_COUNT")->PutValue(RowCount);
rst->Fields->GetItem("COL_COUNT")->PutValue(ColCount);
rst->Fields->GetItem("PASS")->PutValue(Pass);
rst->Fields->GetItem("FAIL")->PutValue(Fail);
rst->Fields->GetItem("SOURCE")->PutValue(Source);
rst->Fields->GetItem("ET_TIME")->PutValue(date);
rst->Fields->GetItem("MAP_VER")->PutValue(Ver);
rst->Update();

_variant_t varChunk;

varChunk.bstrVal = _bstr_t(cWafer); // cWafer is a char array about 2500 bytes long
// for some strange reasons, cannot save varChunk to database and no exception error was capture
rst->Fields->GetItem("MAP")->AppendChunk(varChunk);
rst->Update();
}
.........
}
Questionconver a code to sql server2000 Pin
mehrnoosh1-Aug-08 20:08
mehrnoosh1-Aug-08 20:08 
QuestionQuery and sub query problem Pin
Rameez Raja1-Aug-08 19:03
Rameez Raja1-Aug-08 19:03 
AnswerRe: Query and sub query problem Pin
Mycroft Holmes3-Aug-08 16:30
professionalMycroft Holmes3-Aug-08 16:30 
Questionconfusion Pin
netJP12L1-Aug-08 5:29
netJP12L1-Aug-08 5:29 
QuestionHelp With Aggragate MAX Pin
Rafone1-Aug-08 3:02
Rafone1-Aug-08 3:02 
AnswerRe: Help With Aggragate MAX Pin
Syed Mehroz Alam1-Aug-08 3:23
Syed Mehroz Alam1-Aug-08 3:23 
AnswerRe: Help With Aggragate MAX Pin
SomeGuyThatIsMe1-Aug-08 5:00
SomeGuyThatIsMe1-Aug-08 5:00 
AnswerRe: Help With Aggragate MAX Pin
Rafone1-Aug-08 8:59
Rafone1-Aug-08 8:59 
GeneralRe: Help With Aggragate MAX Pin
Blue_Boy1-Aug-08 12:10
Blue_Boy1-Aug-08 12:10 
AnswerRe: Help With Aggragate MAX .. THX to all I think I got it Pin
Rafone1-Aug-08 12:47
Rafone1-Aug-08 12:47 
QuestionHow to mapp three tables Pin
Exelioindia31-Jul-08 22:41
Exelioindia31-Jul-08 22:41 
AnswerRe: How to mapp three tables Pin
Paul Conrad1-Aug-08 9:34
professionalPaul Conrad1-Aug-08 9:34 
QuestionKnow the Database version Pin
Sritanu _ Ghosh31-Jul-08 21:41
Sritanu _ Ghosh31-Jul-08 21:41 
AnswerRe: Know the Database version Pin
Vimalsoft(Pty) Ltd31-Jul-08 23:05
professionalVimalsoft(Pty) Ltd31-Jul-08 23:05 
QuestionRe: Know the Database version Pin
Sritanu _ Ghosh1-Aug-08 0:46
Sritanu _ Ghosh1-Aug-08 0:46 
AnswerRe: Know the Database version Pin
Vimalsoft(Pty) Ltd1-Aug-08 1:54
professionalVimalsoft(Pty) Ltd1-Aug-08 1:54 
GeneralRe: Know the Database version Pin
Syed Mehroz Alam1-Aug-08 3:31
Syed Mehroz Alam1-Aug-08 3:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.