Executing SQL Script with .Net Connector
Posted by: Chad Lee
Date: January 23, 2006 02:45PM

Is there any way to execute a .sql script file using the connector? The MySqlCommand object only lets you execute one sql query by default. Is there maybe a connection string option or something that will let you just dump the contents of an sql script file and execute it? I'd really like to avoid having to write code to manually parse the .sql file and execute it one command at a time.

Thanks for your help,
Chad



Edited 3 time(s). Last edit at 01/25/2006 11:36AM by Chad Lee.

Options: ReplyQuote


Subject
Written By
Posted
Executing SQL Script with .Net Connector
January 23, 2006 02:45PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.