Click here to Skip to main content
15,904,153 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to debug a storeprocedure in sql server 2000 and 2005? Pin
Pete O'Hanlon22-Dec-06 0:44
mvePete O'Hanlon22-Dec-06 0:44 
AnswerRe: How to debug a storeprocedure in sql server 2000 and 2005? Pin
PrashantJ22-Dec-06 9:08
PrashantJ22-Dec-06 9:08 
QuestionSQL Pin
Bravoone_200621-Dec-06 23:02
Bravoone_200621-Dec-06 23:02 
AnswerRe: SQL Pin
Christian Graus21-Dec-06 23:26
protectorChristian Graus21-Dec-06 23:26 
AnswerRe: SQL Pin
Pete O'Hanlon21-Dec-06 23:28
mvePete O'Hanlon21-Dec-06 23:28 
QuestionRe: SQL Pin
Bravoone_200621-Dec-06 23:34
Bravoone_200621-Dec-06 23:34 
AnswerSQL Pin
Frank Kerrigan21-Dec-06 23:38
Frank Kerrigan21-Dec-06 23:38 
QuestionRe: SQL Pin
Bravoone_200622-Dec-06 0:06
Bravoone_200622-Dec-06 0:06 
this is my code where the code is to long where i must do that?



void CTestDlg::OnChange1()
{
CWaitCursor wait; // Display a wait cursor
CText pTextp;
CString sAnul1,sLuna,sLuna1,sZiua1,sData,sTemp;

m_1.GetWindowText(pTextp.sText4);
sTemp.TrimLeft();
sTemp.TrimRight();

m_2.GetWindowText(pTextp.sText3);
sTemp.TrimLeft();
sTemp.TrimRight();

CRecord_test pBun;
pBun.m_strFilter="password='"+ pTextp.sText3 +"'";
pBun.m_strFilter="name='"+ pTextp.sText4 +"'";

CString sTimp = "777";

pBun.Open();
int nIndexA = pBun.m_password.Find(pTextp.sText3);
int nIndexB = pBun.m_name.Find(pTextp.sText4);

if ((nIndexA != -1) & (nIndexB != -1))
{
pBun.Edit();
pBun.m_name = sTimp;
pBun.Update();
pBun.Close();
}
what is wrong here?

}



Bravoone

QuestionIDispatch error #3108 Pin
SL55521-Dec-06 21:20
SL55521-Dec-06 21:20 
AnswerRe: IDispatch error #3108 Pin
Pete O'Hanlon21-Dec-06 23:34
mvePete O'Hanlon21-Dec-06 23:34 
GeneralRe: IDispatch error #3108 Pin
SL55522-Dec-06 3:04
SL55522-Dec-06 3:04 
QuestionJDBC + MySQL Pin
NightFox50021-Dec-06 20:42
NightFox50021-Dec-06 20:42 
AnswerRe: JDBC + MySQL Pin
Colin Angus Mackay21-Dec-06 23:11
Colin Angus Mackay21-Dec-06 23:11 
AnswerRe: JDBC + MySQL Pin
Pete O'Hanlon22-Dec-06 2:00
mvePete O'Hanlon22-Dec-06 2:00 
QuestionCopying column with OLE Object datatype? Pin
kbalias21-Dec-06 18:36
kbalias21-Dec-06 18:36 
AnswerRe: Copying column with OLE Object datatype? Pin
Colin Angus Mackay21-Dec-06 23:10
Colin Angus Mackay21-Dec-06 23:10 
QuestionConnection Issue While connecting to SqlServer 2000 from ASP.NET 2.0 Pin
nesaraja21-Dec-06 18:29
nesaraja21-Dec-06 18:29 
AnswerRe: Connection Issue While connecting to SqlServer 2000 from ASP.NET 2.0 Pin
Colin Angus Mackay21-Dec-06 23:08
Colin Angus Mackay21-Dec-06 23:08 
QuestionDeleted row outside program problem. Pin
Tomy140221-Dec-06 15:43
Tomy140221-Dec-06 15:43 
AnswerRe: Deleted row outside program problem. Pin
Frank Kerrigan21-Dec-06 23:43
Frank Kerrigan21-Dec-06 23:43 
GeneralRe: Deleted row outside program problem. Pin
Tomy140222-Dec-06 15:21
Tomy140222-Dec-06 15:21 
QuestionHow do you quote parameters for an Oracle Select statement string when the parameter contains a quote? Pin
howardjr21-Dec-06 12:43
howardjr21-Dec-06 12:43 
AnswerRe: How do you quote parameters for an Oracle Select statement string when the parameter contains a quote? Pin
Colin Angus Mackay21-Dec-06 13:24
Colin Angus Mackay21-Dec-06 13:24 
GeneralRe: How do you quote parameters for an Oracle Select statement string when the parameter contains a quote? Pin
howardjr21-Dec-06 16:49
howardjr21-Dec-06 16:49 
GeneralRe: How do you quote parameters for an Oracle Select statement string when the parameter contains a quote? Pin
Mairaaj Khan21-Dec-06 21:17
professionalMairaaj Khan21-Dec-06 21:17 

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.