Free Pascal & SQLite

I’ve been looking for a good example of doing this non GUI in Free Pascal. Read some tips but nothing came together. So I found this example that works. So full credit to Mr Bee pakLebah. It does use the Lazarus IDE, I think because it uses some Lazarus components…but not objects but it creates a stand alone CLI program. The executable was 3MB. But I remembered from the old days, UPX which reduces size to one third to 834.6K.