Click here to Skip to main content
16,009,598 members
Home / Discussions / Database
   

Database

 
AnswerRe: User credentials verification Pin
Jörgen Andersson2-Oct-10 11:26
professionalJörgen Andersson2-Oct-10 11:26 
QuestionAdding existing database Pin
future38391-Oct-10 16:11
future38391-Oct-10 16:11 
AnswerRe: Adding existing database Pin
Karthik. A1-Oct-10 19:07
Karthik. A1-Oct-10 19:07 
QuestionSQL n00b looking for study resources! Pin
anthem1271-Oct-10 8:37
anthem1271-Oct-10 8:37 
AnswerRe: SQL n00b looking for study resources! Pin
ntsdev1-Oct-10 9:22
ntsdev1-Oct-10 9:22 
AnswerRe: SQL n00b looking for study resources! Pin
i.j.russell2-Oct-10 12:05
i.j.russell2-Oct-10 12:05 
GeneralRe: SQL n00b looking for study resources! Pin
anthem1272-Oct-10 12:07
anthem1272-Oct-10 12:07 
QuestionDelete Query not working Pin
T.RATHA KRISHNAN1-Oct-10 0:09
T.RATHA KRISHNAN1-Oct-10 0:09 
Hi!
I'm using SQLite for my game. When a particular button is clicked,I've to get the selection of a list control and delete it from the list control and from the database. for this I'm using the following code and query.

if(m_pSelectProfileImage->getRelativePosition().isPointInside(m_MousePos))
{
 stringw strtoDelete = profileList->getListItem(profileList->getSelected());
 strtoDelete.make_lower();
 strtoDelete.trim();
 if(!strtoDelete.equals_ignore_case(L"default"))
 {
  irr::core::stringc testStr = "DELETE FROM profile WHERE name = '";
  testStr += strtoDelete;
  testStr += "'";
  pManager->SQLdb.Query(testStr);
  profileList->removeItem(item);
 }
}


I execute the above line and open the database file using SQLite Database Browser to check whether the particular record has been deleted. It's not deleted. When I put a break point to verify the query, my list selection is there in the query(testStr). What might be the problem? How to delete a record?
AnswerRe: Delete Query not working Pin
Gerben Jongerius1-Oct-10 2:04
Gerben Jongerius1-Oct-10 2:04 
QuestionThe Operation could not Completed. Not enough storage is available to complete this operation Pin
Vimalsoft(Pty) Ltd29-Sep-10 21:19
professionalVimalsoft(Pty) Ltd29-Sep-10 21:19 
AnswerRe: The Operation could not Completed. Not enough storage is available to complete this operation Pin
Mycroft Holmes30-Sep-10 1:26
professionalMycroft Holmes30-Sep-10 1:26 
GeneralRe: The Operation could not Completed. Not enough storage is available to complete this operation Pin
Vimalsoft(Pty) Ltd30-Sep-10 3:40
professionalVimalsoft(Pty) Ltd30-Sep-10 3:40 
GeneralRe: The Operation could not Completed. Not enough storage is available to complete this operation Pin
Eddy Vluggen30-Sep-10 6:34
professionalEddy Vluggen30-Sep-10 6:34 
GeneralRe: The Operation could not Completed. Not enough storage is available to complete this operation Pin
Mycroft Holmes30-Sep-10 11:56
professionalMycroft Holmes30-Sep-10 11:56 
AnswerRe: The Operation could not Completed. Not enough storage is available to complete this operation Pin
David Skelly30-Sep-10 22:25
David Skelly30-Sep-10 22:25 
GeneralRe: The Operation could not Completed. Not enough storage is available to complete this operation Pin
Vimalsoft(Pty) Ltd30-Sep-10 22:40
professionalVimalsoft(Pty) Ltd30-Sep-10 22:40 
QuestionChange Query Type To Check Query Before Executing [modified] Pin
Kyudos29-Sep-10 14:39
Kyudos29-Sep-10 14:39 
AnswerRe: Change Query Type To Check Query Before Executing Pin
David Mujica29-Sep-10 15:06
David Mujica29-Sep-10 15:06 
GeneralRe: Change Query Type To Check Query Before Executing Pin
Kyudos29-Sep-10 16:32
Kyudos29-Sep-10 16:32 
AnswerRe: Change Query Type To Check Query Before Executing Pin
Mycroft Holmes29-Sep-10 16:01
professionalMycroft Holmes29-Sep-10 16:01 
GeneralRe: Change Query Type To Check Query Before Executing Pin
Kyudos29-Sep-10 16:35
Kyudos29-Sep-10 16:35 
GeneralLog the Ad-Hoc statements Pin
David Mujica30-Sep-10 5:41
David Mujica30-Sep-10 5:41 
GeneralRe: Log the Ad-Hoc statements [modified] Pin
Eddy Vluggen30-Sep-10 6:37
professionalEddy Vluggen30-Sep-10 6:37 
GeneralRe: Log the Ad-Hoc statements Pin
Kyudos30-Sep-10 9:59
Kyudos30-Sep-10 9:59 
QuestionHow to find SQL Server name? Pin
AmbiguousName29-Sep-10 4:13
AmbiguousName29-Sep-10 4:13 

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.