Terminal interface of SQL server