Declare table sql. Update таблицы. insert sql. индексы t sql. alert table sql.