I've started using SQLite for my Android applications. What I would like to know is where I can find a list of queries to use, are they the same for MySQL, and would I be able to use similar queries from MySQL?
-
Most queries will be similar, but no one can give you a complete tutorial inside a single answer. Start translating, and if you get stuck on translating a concrete one, that is a better time to ask here.Joachim Isaksson– Joachim Isaksson2012-03-01 19:52:40 +00:00Commented Mar 1, 2012 at 19:52
-
2sqlite.org/lang.htmlKaroly Horvath– Karoly Horvath2012-03-01 19:52:43 +00:00Commented Mar 1, 2012 at 19:52
-
CONCAT* functions do not work in SQlit, they should be replaced with ||. Pipes must be enabled in Mysql using PIPES_AS_CONCAT flagymakux– ymakux2017-11-08 01:22:12 +00:00Commented Nov 8, 2017 at 1:22
Add a comment
|
2 Answers
SQLite provides a pretty good implementation of the SQL standard. Check out the syntax here. There is a prominent link in the first paragraph that describes omissions.
EDIT: No stored procedures or functions. You can mimic these in your code at runtime, however, using prepared statements
1 Comment
Brandon Wilson
Do you know if you an create functions like MySQL?
List of queries? You would need to use 'SQLiteDatabase.query' set of methods to query your SQLite database in your Android app. There would be SQLite specific SQL that you would need to consider while migrating your MySQL queries.