SQLite Admin for AIR 1.0

Here is a new version of my AIR-based SQLite Admin application updated for AIR 1.0. You can use this application to examine the structure of a database, create a new database or open an existing one, execute any type of SQL statement, etc.

An interesting aspect of this version is that the application itself uses a database (sqladmincache.db) to keep track of the databases you opened and the statements you executed. This is useful if you want to quickly re-open a recently accessed database, or re-execute a recently executed statement.

The UI is still simple, but uses some new AIR and Flex 3 features such as the AdvancedDataGrid and Native Windows.

Please upgrade your Flash Player This is the content that would be shown if the user does not have Flash Player 9.0.115 or higher installed.


Click here to download the source code.

Comments

  1. AndyEd says:

    Thanks! You fixed the file extension restriction to allow opening of .sqlite files!

  2. Thanks for posting the source. I added a button to QueryWindow.mxml to let you Save your SQL to a file. Its no frills, but if you want to add it in the AS3 code is here:

    http://initapp.privatepaste.com/e51RE2la3g

  3. Daniel says:

    Hey Christophe,
    a very nice tool! I just started using Flex with Air and your tool makes it a lot easier working with sqlite, thanks.

    Greets,

    Daniel

  4. Great work!

    You should lose the Eclipse / Flex Builder properties files (.settings/*, .flexProperties, etc) from your ZIP, though …

  5. Hi there,

    Thanks very much for the useful app and helpful source code. I was actually wondering about your source code distribution: it contains a copy of Adobe’s Myriad Web Pro font .ttf files.

    Is it permissible to redistribute these files generally? They seem to be something that you can purchase a licence for from Adobe, so I’m slightly confused as to whether you should be redistributing them, and whether I may?

    Cheers,
    Royston.

  6. Javier Julio says:

    Christophe,

    Thanks for sharing this as its a great AIR application! I know you’ve made the source available but I wanted to verify with you first. I’d like to expand the interface so devs can create easy things like columns and tables without needing to write any SQL. Would you be alright with me expanding on the source you’ve released and then making it available for others? Again thanks for such a helpful app!

  7. Vasile says:

    Cool!!!
    Is there any type of licence for using. I would like to add some features as syntax highlighting and a graph to show database structure (using spring graph component) ??

  8. reallypride says:

    Thanks,a very nice and useful tool
    I like it very very much.

  9. cp8r says:

    Thank you for this inspiring AIR application!

    As I am developping with Flex and AIR for my diploma degree I would like to ask two questions:

    1.
    Also described I do not understand how the local database receives its initially data – or from where! Where is the initial data written when one installs the application? I could not find anything in the XML files under /data.

    2.
    In an earlier post regarding the first version of salesbuilder you wrote you “removed the server component (to avoid having to watch all the bad things that can happen to a shared demo database)” and that an “XML document plays the role of server data.” So this means it’s also possible to access a remote database e.g. on a webserver? I try to do this for a while but cannot find out how this works. Do you have any hints?

    I would be very thankful for any answer, maybe via email. I would have emailed you, too, but could not find any address :-(

    Best regards,

    Christian (Wolfsburg, Germany)

  10. Thank you. İts the best.

  11. Sağlıksal says:

    İts cool.

    Best Regards

  12. Marcus says:

    Haha this is so sweet. Thanks for your time and effort–it’s definitely saved me some pain. I appreciate it!

  13. woodstudenta says:

    places the wild and eat and climb with box decay year from raspberries, places

  14. Khairunnisa says:

    I tried your SQLite Admin application on Vista with UAC (User Access Control) on it doesn’t seem to want to retrieve data from tables.
    I can open your sqladmindemo.db but NOT querying from it.
    However, retrieval/writing of data on your SalesBuilder application works fine on Vista with the same settings.
    I realize both are using synchronous connection – so what’s the difference between these two applications in terms of calling data?
    My application is facing the same problem as your sqlite admin – not able to read data on Vista with UAC on. However works perfectly when UAC is off.

    Can Enlighten?

  15. ibmblackcube says:

    land we all green water black look jhon no boat head

  16. Güzel bilgiler..Teşekkürler…

  17. houseboat says:

    frog university me free head clean ibm this busy woman home juicy

  18. sohbet says:

    Güzel bilgiler..Teşekkürler…

  19. chat says:

    good thanks

  20. çet says:

    thanks….

  21. sohbet says:

    Thanks. you very muck.

  22. muhabbet says:

    ooo süper this is.

  23. thanks.

  24. radyo dinle says:

    thanks you man

  25. hosting says:

    good thanks

  26. irc shell says:

    its cool.

  27. muhabbet says:

    thanks

  28. sohbet says:

    i like thank you

  29. sohbet says:

    Sohbet Chat Muhabbet Odalari Turkish

  30. Very useful tool. Thank you.

  31. Thank you very much for this useful article.

  32. irc says:

    Thank you very much

  33. sohbet says:

    Thanks You

  34. sohbet says:

    tenksk you very
    It’s really a great artical and really helped me. One question from myside is..

    Is there anyway of copressing .tiff files by using mod_gzip??

  35. nakliyat says:

    thanks you man

  36. sohbet says:

    Thank you very much coenraets.org

  37. Venkat from India says:

    Does it not support insert statements or what!??

    I tried inserting something into the demo db and all I get is “Error #3115″?

  38. sohbet says:

    thanks

  39. Chat says:

    Thanks You

  40. Luis Munoz says:

    Hi there,
    Is there any documentation on how to install the SQLiteAdmin tool and how to use it. I am running Flex 3 on a iMac.
    I am trying to learn adobe Air and using above tool should make working with SQLite easier.Very much appreciated.

    Thanks

  41. radyo says:

    danke admin

  42. radyo dinle says:

    tek yuo admin

  43. çet says:

    thanks you good

  44. cet sohbet says:

    thanks

  45. chat says:

    thank you

  46. chat says:

    thanks

  47. gay sohbet says:

    thank you admin

  48. film izle says:

    thanks for you.

  49. Sohbet says:

    Thankx

  50. Doug says:

    I am also getting only 3115 error when attempting to insert. It is driving me crazy. What’s the deal?

  51. haberler says:

    thanks you

  52. cici says:

    ı have followed your writing for a long time.really you have given very successful information.
    In spite of my english trouale,I am trying to read and understand your writing.
    And ı am following frequently.I hope that you will be with us together with much more scharings.
    I hope that your success will go on.

  53. chat says:

    I am also getting only 3115 error when attempting to insert. It is driving me crazy. What’s the deal?

  54. sohbet says:

    I am also getting only 3115 error when attempting to insert.

  55. tşkk :)

  56. sohbet says:

    thanks baby

  57. thenks http://www.BizimleSohbet.com – sohbet, chat, muhabbet, sohbet odaları,sohbet sakarya,sohpet,sohbet oyun radyo,İslami Sohbet, Dini Sohbet, İslami Site, Dini Site, İslami Chat, İslami Radyo, iSlami Sohbetler, Dini Sohbetler, DiniSohbet, iSlamiSite, Dini Chat, iSlami Arkadaşlık

  58. mırc says:

    thanks.

  59. Chat says:

    thnks

  60. thanks for you job life.

  61. ssk sorgulama

    tanx see you later

  62. aloe says:

    happy new year!

  63. thankx admin good your web site and post

  64. İpucu says:

    Thanks…

  65. ilan says:

    I am also getting only 3115 error when attempting to insert. It is driving me crazy. What’s the deal?

  66. John Keates says:

    This is a fine piece of work! Love this killer app :-)

  67. Daniel says:

    Hey Christophe,
    a very nice tool! I just started using Flex with Air and your tool makes it a lot easier working with sqlite, thanks.

    Greets,

    Daniel

  68. okeytr says:

    danke admin

  69. ats says:

    very good,thanks.

  70. web says:

    thanks.

  71. toki says:

    Is there any type of licence for using.

  72. Rosmayati says:

    I would like to know is there any possibility to integrate sqlite with other database management system such as oracle, db2, sql server etc? If yes, how?

  73. mirc says:

    El tema de los permisos es independiente al de los plugins
    Thanks admin

  74. Hosting says:

    very nice page thankss

  75. sohbet says:

    thank you

  76. Error 3115 : make sure your syntax is SQLite friendly. Some commands will not to work.

    FOR EXAMPLE:
    INSERT INTO foo (first_id ,second_id) VALUES (’410′, ’99′) ;
    will generate 3115.

    AND

    INSERT INTO foo (products_id ,categories_id) VALUES (“410″, “99″) ;
    will be okay.

    What’s difference? The first one uses apostrophes while the latter uses quotation marks.

    For a better idea, see http://www.sqlite.org/cvstrac/wiki?p=UnsupportedSql.

  77. good thanks

  78. mirc says:

    thanx

  79. Sohbet says:

    sie :D

  80. thanks admin

    türkçe mirc

  81. MCX says:

    ddd

  82. arkadaş says:

    süper bir site ya:D

  83. ilan says:

    SQLite database. I use SQLite administrator which is free to download. Another good application is SQLite admin which was maid by Christophe Coenraets. This is an Air application and can by used on a mac. I’ll [...]

  84. thank

  85. mobilya says:

    SQLite database. I use SQLite administrator which is free to download. Another good application

  86. Sohbet says:

    good thanks

  87. origami says:

    origami : thanks .)

  88. Edencity says:

    thanx

  89. thanks good post

  90. kol saati says:

    Thank You..

  91. thansk

  92. Thanks My Friend..

  93. Chat says:

    Thank You Admin.

  94. sohbet,chat says:

    thank

  95. sohbet says:

    hallo i wish you verry succes operator

  96. TRsohbet says:

    Thank You Admin.

  97. Edencity says:

    hallo i wish you verry succes operator

  98. godstroke says:

    thanks, and i guess you have some spam-comments in this post if you havent noticed. After the one with “george mckinney Says:” all of em are likely spam, they are in turkish, with links to some sites.

  99. sohbet says:

    Thank you All..

  100. thanks for post

  101. Radyolar says:

    hallo i wish you verry succes operator

  102. hallo i wish you verry succes operator

  103. Sohbet says:

    hallo dear friends thanks a lot for your workshop

  104. sohbet says:

    You should lose the Eclipse Flex Builder properties files ettings flexProperties etc from your ZIP thougr

  105. mRai says:

    Is there any type of licence for using. I would like to add some features as syntax highlighting and oyUn a graph to show database structure (using spring graph component

  106. sikiş says:

    sikis kasıyoruz

  107. Jay Godse says:

    This is a good tool if you aren’t comfortable with the SQLite command line. It’s also nice that it works in the AIR environment.

  108. I am also getting only 3115 error when attempting to insert. It is driving me crazy.

  109. This is a good tool if you aren’t comfortable with the SQLite command line

  110. medyum says:

    Hi there,

    Thanks very much for the useful app and helpful source code. I was actually wondering about your source code distribution: it contains a copy of Adobe’s Myriad Web Pro font .ttf files.

  111. hikaye says:

    This is a good tool if you aren’t comfortable with the SQLite command line

  112. medyum says:

    Thanks very much for the useful app and helpful source code. I was actually wondering about your source code distribution: it contains a copy of Adobe’s Myriad Web Pro font .ttf files.

  113. hikaye says:

    Nice post. This post is different from what I read on most blog. And it have so many valuable things to learn. Thank you for your sharing!

  114. cinsellik says:

    I am grateful to you for this great content.

  115. radyo dinle says:

    This is a good tool if you aren’t comfortable with the SQLite command line. It’s also nice that it works in the AIR environment.

  116. thanks, and i guess you have some spam-comments in this post if you havent noticed. After the one with “george mckinney Says:” all of em are likely spam, they are in turkish, with links to some sites.

  117. CixSohbet says:

    This is a good tool if you aren’t comfortable with the SQLite command line

  118. Chris says:

    Ahhh. This application is refreshingly handy. I downloaded a huge sqlite database and this tool is making it nice to explore. Plus it’s a good air application example to learn from on an unrelated air toy.

    Thank you for making this application available! I appreciate it. :)

    Best regards,

    Chris

  119. sohbet says:

    SQLite database. I use SQLite administrator which is free to download. Another good application

  120. yonja says:

    thanks good post

  121. ssk says:

    tenksk you very
    It’s really a great artical and really helped me. One question from myside is..

    Is there anyway of copressing .tiff files by using mod_gzip??

  122. thanks, and i guess you have some spam-comments in this post if you havent noticed. After the one with “george mckinney Says:” all of em are likely spam, they are in turkish, with links to some sites.

  123. sirketler says:

    This is a good tool if you aren’t comfortable with the SQLite command line

  124. reklam says:

    This is a good tool if ydsou aren’t comfortable with the SQLite command line

  125. thank you every body.

  126. ohh very good thanks you

  127. thnx

  128. döviz says:

    ohh very good thanks you

  129. yess very much

  130. medyum says:

    ı have followed your writing for a long time.really you have given very successful information.
    In spite of my english trouale,I am trying to read and understand your writing.
    And ı am following frequently.I hope that you will be with us together with much more scharings.
    I hope that your success will go on.

  131. sinema izle says:

    thank you every body.

  132. the sinema says:

    ohh very good thanks you

  133. mp3 dinle says:

    very good thanks you

  134. sohbet says:

    Thnakss .

  135. thnk you my admin

  136. sohbet says:

    Thank you very much admin!

  137. Notebook says:

    Notebook ve notebook parçaları

  138. Yüzbir Oyna says:

    teşekkürler arkadaşım süper

  139. tanks goody

  140. alevi sohbet says:

    Given that they still have a silly religious devotion to keeping the front page “clean”, it’s a wonder their other products have done as well as they have. But many of them are making progress, slowly but surely, and I suspect one day Sergey and Larry will realize that starting with “search” is actually less convenient than starting with clicks and build out the front page.

  141. chat says:

    products have done as well as they have. But many of them are making progress, slowly but surely, and

  142. very good thanks you

  143. This is a good tool if you aren’t comfortable with the SQLite command line. It’s also nice that it works in the AIR

  144. driver indir says:

    This is a good tool if you aren’t comfortable with the SQLite command line. It’s also nice that it works in the

  145. It is very interesting to see this tool here.
    thank you

  146. chat says:

    This is a good tool if you aren’t comfortable with the SQLite command line. It’s also nice that it works in the AIR

  147. aksaray says:

    tesekkurler

  148. sikis says:

    sikiş social network

  149. sohbet says:

    Thanks. you very muck

  150. çet says:

    Thanks. you

  151. reklam says:

    thankyou mennnnnnnnÇ:S

  152. HEEL LIFT says:

    Thank you a pleasant read, interesting and informative.

  153. This is a very good tool

  154. Excellent read, I am really impressed

  155. Agustin says:

    Awesome, been looking for something like this for a while!!! Is it on adobe market place?

  156. ruyasohbet says:

    I really love this post anyway and i hope you to improve your quality of article
    regards

  157. gay sohbet says:

    tahnks

  158. Tim says:

    I am seeing what appears to be a bug with SQLite in Adobe Flex and in SQLAdmin, as follows:

    select t1.id, t1.descrip, t2.title
    from t1 inner join t2 on t1.id = t2.id
    where t1.desc like “xxx%”

    t1.id is integer ; t2.id is integer; t2.title is varchar

    The problem is, the correct rows from t1 are returned, but t2.title is always incorrect.

    When I examine the t2 table to determine the PK value of these wrong titles, I notice that the PK values are very close to t1.id. For example:

    t1.id = 140 and the wrong title has a PK of 1400.
    t1.id = 2530 and the wrong title has a PK of 25230.
    t1.id = 160 and the wrong title has a PK of 1610.

    It looks like a number column is being sorted as text. Perhaps an index is being turned into an array and sorted as text rather than as int?

    Please note than when I execute the identical query in other GUI query tools that work with SQLite (e.g. Razor, Visual Studio, SQL Maestro) they all agree with each other and return the correct t2.title values.

  159. Steave says:

    Great article as for me. It would be great to read a bit more about this matter.

  160. Simon says:

    I’m still novice at using Adobe AIR and SQLite, but I’m in serious doubt on the SQLite syntax.
    According to the reference at : http://www.sqlite.org/lang_createtable.html , the following query should be alright ..

    CREATE TABLE `Bluueergwhatever`
    (`id` int(11) CONSTRAINT PRIMARY KEY AUTOINCREMENT,
    `name` varchar(50))

    But while playing around it seems like none of the sqlite syntax match, only the MySQL -like query syntax seems to work. What am I doing wrong ? Help is very much appreciated.

  161. laptop servisi istanbul

  162. yes agree with

  163. cs forum says:

    thanks ;)

  164. Wonderful Stuff you post!

  165. güncel bilgiler,güncel blog,özgün blog

  166. motoculteur says:

    this is an amazing blog, you are a good publisher, i will return more often to your blog.

  167. Really useful. Can’t believe how simple it is.

  168. Fantastic little app, thanks very much.

    Regarding the syntax, I’ve noticed that it’s the quote marks you have to be careful of (i.e. MySQL uses ` with tables whereas SQLite uses ‘ ), but I believe this is an SQLite thing and nothing to do with the app.

  169. matbaa says:

    this is an amazing blog, you are a good publisher, i will return more often to your blog.

  170. kablo tv says:

    thanks for article

  171. 熱水器 says:

    I see the 2concern.I am very m glad to hear that you got your Supra fixed. I remember reading about some of your problem4x !.

  172. adem says:
  173. Agree with Tim that there is appears to be a bug with SQLite in Adobe Flex and in SQLAdmin.

  174. this application to examine the structure of a datab

  175. Yes. I like the feature of your app where the database keeps track of the other databases. We are using similar for our structure for ours

  176. plakalık says:
  177. matbaa says:

    Bing recognizes the complementary benefits of bringing computational knowledge to the forefront of the search experience..

  178. wpolscemamymocneseo says:

    Nice!! Great Ifo. Great People. Great Blog. Thank you for all the great sharing that is being done here

  179. J. says:

    Hi, nice app.
    Could you make a little improvement please?
    I have a database table with lots of rows in it.
    When i execute the query the datagrid under “enter a sl statement” gets to big.
    Could you add scrollbars to it, so i can view all presented data and scroll to the right to see all colmns?

    Greets, J.
    Ps. let me know if there is a new version

  180. Alexis says:

    Very nice interface for testing SQL querys, thank you!

  181. VC says:

    Has Adobe Flex “team” come to its senses to compile-in the full-text-search capabilities into any of the newer versions of AIR? In fact, has anybody at Adobe come to enough of their senses to fire those that end up making such stupid decisions – to exclude it, in the first place?

  182. ข้อมูลดีน่าสนใจ มาก

  183. Laptop LCD panel, keyboard, adapter, battery, hinge …

  184. Dani says:

    great,
    this is exactly what I was looking for.
    rgds

  185. ASN Broker says:

    Great Info. Great Blog

  186. ASN Broker says:

    Good Info, Thank you

  187. ASN Broker says:

    good info, thanks

  188. RichFLV- adobe.com SearchCoders Dashboard- adobe.com Spazan – Twitter client- adobe.com SQLite Admin for AIR 1.0- coenraets.org StockQ: A Stock Quotes application, built for Adobe AIR- adobe.com StudioCloud PSG [...]

  189. mavi ajans matbaa thanks

  190. qüzel bir çalısma olmus mavi ajans matbaa thanks

  191. Kablonet says:

    Byzantinize unlocks misguided:grenades …

  192. Kablonet says:

    Here is a new version of my AIR-based SQLite Admin application updated for AIR 1.0. You can use this application to examine the structure of a database, create a new database or open an existing one, execute any type of SQL statement, etc.

  193. Kablonet says:

    The UI is still simple, but uses some new AIR and Flex 3 features such as the AdvancedDataGrid and Native Windows.

  194. Uydunet says:

    Good. vThank you very much.

  195. tanaka says:

    sugoiyokattayo
    matakurune

Trackbacks

  1. [...] just came across this AIR-based SQLite [...]

  2. [...] like, but be aware that it’s a very basic and untested app, and Christopher Coenraets’ SQLite Admin for AIR does everything my little app does, and more [...]

  3. [...] of the first two that I have listed (and I had the third one recommended by another developer). SQLite Admin AIR ApplicationSQLite Manager Firefox ExtensionSQLite Database Browser Next Tutorial: In the next article, I will [...]

  4. [...] SQLite Admin for AIR 1.0 – coenraets.org [...]

  5. [...] SQLite Admin for AIR 1.0 – coenraets.org [...]

  6. [...] SQLite Admin for AIR 1.0 – coenraets.org [...]

  7. [...] I recommend downloading a SQLite browser which will enable you to see and test your database. There are two that I know of: Firefox plugin And SQLite-Admin-for-Air, developed in Air. [...]

  8. dice online poker…

    Byzantinize unlocks misguided:grenades …

  9. [...] RichFLV – adobe.com SearchCoders Dashboard – adobe.com Spazan – Twitter client – adobe.com SQLite Admin for AIR 1.0 – coenraets.org StockQ: A Stock Quotes application, built for Adobe AIR – adobe.com StudioCloud PSG [...]

  10. pot limit hold em pokher strategy…

    disappearances preallocated Bushnell:octagonal …

  11. [...] Christophe Coenraets :: SQLite Admin Application for AIR [...]

  12. car insurance coverage…

    retrain oppressive diorama …

  13. [...] SQLite database. I use SQLite administrator which is free to download. Another good application is SQLite admin which was maid by Christophe Coenraets. This is an Air application and can by used on a mac. I’ll [...]

  14. [...] mais completa. Muito simples, com um design eficaz. Distingue-se dos outros seus competidores (slqiteadmin e sqlite sorcerer) porque permite adicionar, apagar e actualizar conteúdo sem escrever uma única [...]

  15. [...] RichFLV- adobe.com SearchCoders Dashboard- adobe.com Spazan – Twitter client- adobe.com SQLite Admin for AIR 1.0- coenraets.org StockQ: A Stock Quotes application, built for Adobe AIR-  adobe.com StudioCloud PSG [...]

Speak Your Mind

*