Implementation of initialization query.