changed to use SQLITE_STATC for binding.