If you have a sql query and want to execute it (even if it consists of many sdq statements) you can use MySqlScript component. See class reference in MySQLDirect .NET documentation for additional information and sample code for this class. You can also use designer features of this component to become familiar with its functionality.