The connect statement is used to establish a connection to the database with the help of an ODBC or an OLEDB interface.