Completed the DDL script.
Tested the SqlCheckpointStore (fixed infinite loop bug).