| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
SQL.InternalSQLiteLibrary.Activate
Activates the internal SQLite library.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| SQL | 5.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "SQL.InternalSQLiteLibrary.Activate" )
Parameters
none
Result
Returns OK or error.
Description
Activates the internal SQLite library.If you use this command, you don't need to provide sqlite3.dll or sqlite3.dylib yourself.
Our internal SQLite library includes the following extensions:
- JSON1, the extension to provide JSON functions
- FTS5, the full text search extension in version 5
- R*Tree index extension
- SOUNDEX function
- SQL math functions
- Geopoly extension
- ICU extension for unicode handling
- The RBU Extension
- SQLite Encryption Extension
You can turn on these SQLite extensions at runtime with MBS Plugin:
- UUID extension
- Base64 extension
- CSV extension
More extensions could be added on request.
Examples
Activate the internal SQLite library if not already activated:
If [MBS( "SQL.InternalSQLiteLibrary.Activated" ) ≠ 1]
Set Variable [$r; Value:MBS( "SQL.InternalSQLiteLibrary.Activate" )]
End If
Set Variable [$r; Value:MBS( "SQL.InternalSQLiteLibrary.Activate" )]
End If
Enable all extensions and activate:
Set Variable [$r; Value: MBS( "SQL.InternalSQLiteLibrary.SetBase64ExtensionEnabled"; 1 )]
Set Variable [$r; Value: MBS( "SQL.InternalSQLiteLibrary.SetCSVExtensionEnabled"; 1 )]
Set Variable [$r; Value: MBS( "SQL.InternalSQLiteLibrary.SetICUEnabled"; 1 )]
Set Variable [$r; Value: MBS( "SQL.InternalSQLiteLibrary.SetUUIDExtensionEnabled"; 1 )]
Set Variable [$r; Value: MBS( "SQL.InternalSQLiteLibrary.Activate" ) ]
Set Variable [$r; Value: MBS( "SQL.InternalSQLiteLibrary.SetCSVExtensionEnabled"; 1 )]
Set Variable [$r; Value: MBS( "SQL.InternalSQLiteLibrary.SetICUEnabled"; 1 )]
Set Variable [$r; Value: MBS( "SQL.InternalSQLiteLibrary.SetUUIDExtensionEnabled"; 1 )]
Set Variable [$r; Value: MBS( "SQL.InternalSQLiteLibrary.Activate" ) ]
See also
- SQL.ClientVersion
- SQL.InternalSQLiteLibrary.Activated
- SQL.InternalSQLiteLibrary.ICUUsed
- SQL.InternalSQLiteLibrary.LoadICU
- SQL.InternalSQLiteLibrary.SetBase64ExtensionEnabled
- SQL.InternalSQLiteLibrary.SetCSVExtensionEnabled
- SQL.InternalSQLiteLibrary.SetICUEnabled
- SQL.InternalSQLiteLibrary.SetUUIDExtensionEnabled
- SQL.InternalSQLiteLibrary.SourceID
- SQL.InternalSQLiteLibrary.Version
Release notes
- Version 15.3
- Added CSV extension for the built-in SQLite library in SQL.InternalSQLiteLibrary.Activate function.
- Added uuid and base64 extensions for the built-in SQLite library in SQL.InternalSQLiteLibrary.Activate function.
- Version 11.2
- Enabled math and geopoly functions for internal SQLite library. see SQL.InternalSQLiteLibrary.Activate
Example Databases
- SQL to other databases/SQL Export
- SQL to other databases/SQLite blob
- SQL to other databases/SQLite fun
- Third Party/FileMaker Snippet Storage
Blog Entries
- MBS FileMaker Plugin, version 15.3pr2
- Connect to an external database server in FileMaker
- MBS FileMaker Plugin, version 11.2pr1
- MBS FileMaker Plugin, version 11.1pr8
- [ANN] MBS FileMaker Plugin 5.3 for OS X/Windows
This function checks for a license.
Created 23th September 2015, last changed 30th June 2025