2016-17 Campaign Target Exceeded!

Wikispaces terminated free subscriptions for non-education wikis on Oct 15, 2014 and commenced charging US$50 p.a. for ongoing service. As of Nov 12, 2016, our fee jumps 100% to US$100 p.a. There is no apparent (to me, at least) free or cheaper alternative to which this wiki can be readily migrated. So, once again, I launched an appeal on 14 Sep for your financial support to keep it going for another 12 months. Within 12 hours, the target was exceeded and the campaign was terminated soon after. Thank you, 2016 Donors!

Applying for Membership

Be sure to confirm your email address (respond to the email requesting you to do so) else you will not receive notification that your application has been accepted nor receive notices from the wiki. You may need to set your spam filter to trust messages from wikispaces.com.

Latest Pages

2016-09-05 COPY FamilySearchID to REFN fact added. One use is to reliably match duplicate people for merging.
2016-08-18 A Sample Query Created with Views added. Demonstrates a modular approach to building a complex query.
2016-08-16 Reports, Narrative, Jerry Bryan Trick rev. Ver 2 reduces the instances of excessive white space, a collateral effect of the trick.
2016-08-12 Reports - New Paragraph for General Note added. Improved format for narrative reports.
2016-08-02 Quick Start for Dummies added. Know nothing about SQLite? Start here...
2016-07-30 Color Code by Consanguinity Degree added.
2016-07-29 Shared Events - Sort Witnesses by Consanguinity plus Name added. Sorts sharers of event by consanguinity, then by name.
2016-07-29 Relationships rev. Now calculates consanguinity degree.
2016-05-08 Events - Move Description to Note added. Moves the entire contents of event descriptions of a selected fact type to the Note for that event.
2016-05-08 Query - All Names in Tree added. Lists all those in the hourglass of the defined person's tree.
2016-04-22 Source Templates - Merge Duplicates rev. to make insensitive to case and space character.
2016-04-05 Reports - Point Form Narratives Setup version 2.
2016-03-28 Maps - Geo-Pedigree, plotting your ancestors' birth places started but aborted in favour of RootsMapper.com
2016-03-28 FTM import - restore Event description from Place Details added. Move the content from each event's Place Detail to the event's Description field.
2016-02-12 Statistics added. A start; reports the male and female having the maximum children total with all spouses.
2016-02-07 Media - Bulk Rename and Relink added. Converts structured media filenames to another structure and relinks them.
2016-02-04 Language other than English added. Demonstrates current limitations, working in French.
2016-02-01 Reports - Point Form Narratives Setup added. Makes the Narrative format less verbose, easier to scan.
2016-01-29 Maps - markers proportional to number of events added
2016-01-21 Relationships fast Kinship List added
2016-01-17 Facts - Split Shared to Individual edited: added version without RIN displayed
2016-01-16 RIN MRIN - add Reference Number fact to all persons added
2016-01-10 Spouse Order - Global Sort by Marriage or First-Birth SortDate added
2016-01-08 Source Citation Sort added
2016-01-07 Roles - Sort Alphabetically added
2015-12-31 Nickname Manipulations added
2015-12-19 Citations Invisible - Reveal and Revert added (of interest to migrants from FTM)
2015-11-24 Recursive Queries - Ancestors and Descendants rev (gender filter for genetic lines)
2015-10-18 Children - Set Lineage to Birth added (so RootsMagic ancestor reports follow birth lines)
2015-03-30 TMG to RootsMagic Migration added (index and summary of useful pages for the TMG emigre)
2015-02-16 Marriages, Length of added (answers how long each marriage lasted)
2015-01-25 Living Flag - Set Globally added (can correctly set/clear living flag without Death fact in most cases)
2015-01-23 Children - Needing Manual Arranging added (lists families in which one or more children lack Birth or Christen facts)
2015-01-22 Children - Set Order by Birth SortDate added (batch sorting of children in birth order)
2015-01-21 Places - Conversion of Place Details to Places added (for when you need to export to other software)
2015-01-05 SQLite Managers for Mac OS added

Earlier queries

Welcome to SQLite Tools for RootsMagic!

This wiki style site is intended to enhance our use of RootsMagic 4 and above with queries and reports not provided from within the program. RootsMagic 4 through 7 use SQLite 3 as their database engine so the .rmgc database files each creates are readable using third party SQLite management and development tools.

We explore collaboratively the RootsMagic 4+ databases with some of these SQLite managers and develop SQL queries that attempt to answer questions that cannot be answered or are difficult to answer using the RM application. Become a Member with full privileges to create and edit pages, discuss them, upload files, and help make our wiki better! Be sure to confirm your email address when applying to join else you will not receive notice of approval or other messages from the wiki.

The site has features, such as file storage, essential to such development and not available from the RootsMagic Forums. All other RootsMagic topics should continue there.

RootsMagic SQL Queries

How to Query RootsMagic - Experiences of novice users and an example using SQLiteSpy to do a database integrity check.
RM SQLite Queries - Plunge right in, if you have an idea of what you are doing.
Problem Queries - Post your problem for discussion.
SQLite Managers - Choose from one of these tools to run your queries.
MS Access - Or connect to your database with Access and Excel for great looking reports.
Open Office - Use the same ODBC driver as described for MS Access to connect OpenOffice to a RM database. Not recommended!

Find Pages by Tag

  1. Ahnentafel
  2. FTS()
  3. Notes
  4. RIN
  5. TMG
  6. admin
  7. alternate names
  8. ancestors
  9. ancestry.com
  10. application
  11. backup
  12. batch
  13. birth
  14. blanks
  15. blob fields
  16. broken
  17. census
  18. charts
  19. child
  20. citations
  21. color coding
  22. compare
  23. config
  24. conversion
  25. county
  26. crystal reports
  27. custom
  28. data definitions
  29. database
  30. database properties
  31. date
  32. death
  33. delete
  34. descendants
  35. developer
  36. duplicates
  37. editable
  38. events
  39. fact types
  40. family
  41. filenames
  42. ftm2012
  43. ftm2014
  44. gedcom
  45. geo-coding
  46. google maps
  47. index
  48. integrity
  49. links
  50. living
  51. marriage
  52. media
  53. merge
  54. metadata
  55. mrin
  56. ms access
  57. ms excel
  58. multimediatable
  59. named group
  60. names
  61. odbc
  62. paragraphing
  63. pdf generator
  64. person
  65. phantom
  66. place details
  67. places
  68. pragma
  69. rar
  70. recursive
  71. refno
  72. relationships
  73. replace
  74. reports
  75. repositories
  76. request for help
  77. rmnocase
  78. roles
  79. search
  80. shared event
  81. sortdate
  82. source templates
  83. sources
  84. speed
  85. split tree ancestors leaves
  86. spouse
  87. sql
  88. sqlite expert
  89. sqlite managers
  90. sqlitespy
  91. sub-queries
  92. tasks
  93. to do list
  94. tools
  95. update
  96. visual basic
  97. visual c#
  98. webtags
  99. webtrees
  100. xml

External Resources

Torture Files
Management Tools

Users Mailing List

PoorSQL formatter

The PoorSQL formatter does a pretty good job of cleaning up scripts to make them more readable but is written for T-SQL so does not support SQLite SQL fully. It puts a space between double character operators such as <<, >>, ==; these can be readily searched and replaced in a text editor such as PSPad.

Thank you, 2016 Donors!

Our Wikispace subscription is funded up to Nov 2017. Fundraising for 2016-17 is now terminated. Full report at Future of SQLite Tools for RootsMagic wiki 2016-17