autoitxp Posted March 30, 2008 Share Posted March 30, 2008 Hi when i execute _SQLite_Exec with UPDATE method it locked database file and update implemented on other mydb.db-journal file ? Is there any sqlite database example with ADD DELETE UPDATE AND DISPLAY? Link to comment Share on other sites More sharing options...
PsaltyDS Posted March 30, 2008 Share Posted March 30, 2008 when i execute _SQLite_Exec with UPDATE method it locked database file and update implemented on other mydb.db-journal file ?Is there any sqlite database example with ADD DELETE UPDATE AND DISPLAY?Try the search function, as there are numerous examples posted on this forum.Beyond that, I can't understand your description of the issue. If your primary language is not English, you might post the description in your own language. Often someone on the forum can translate.How many databases did you have open at the time? What did the _SQLite_Open() call(s) look like? What did the _SQLite_Query() call look like? How did you determine what actually happened? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Synapse Posted March 31, 2008 Share Posted March 31, 2008 (edited) Hi when i execute _SQLite_Exec with UPDATE method it locked database file and update implemented on other mydb.db-journal file ?Is there any sqlite database example with ADD DELETE UPDATE AND DISPLAY?To add new row in db:_SQLite_Exec (DataBase, "INSERT INTO YourTableNameHere (Col1, Col2, Col3) VALUES ('Value1, Valu2, Valu3');")To show whats in your db use:_SQlite_Query ($DataBase, "SELECT * FROM YourTableNameHere WHERE ColNameHere = 'WordYourSearching4' ORDER BY ColName ;", $hQuery)To edit a db:_SQLite_Exec ($DataBase, "UPDATE YourTableNameHere SET ColNameHere ='UpdateWord' WHERE ColName = 'WordYourSearching4' ;")To delete:_SQLite_Exec ($DataBase, "DELETE FROM YourTableNameHere WHERE ColName = 'WordYourSearching4' ;") The rest of the syntax commands u`ll be able to find it here: http://www.sqlite.org/lang.htmlHope this is what u`ve been looking for.Cheers Edited March 31, 2008 by Synapse Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now