Re: Need Assistance Trying to CREATE a table in VB.Net
Posted by: Bob Anonymous
Date: August 03, 2014 08:12AM

Nevermind.

With fresher eyes this morning and a bit more research I discovered that the code I need is more like this:

MySqlConn.Open()
MySqlCmd = New MySqlCommand("USE mikemccartney2;", MySqlConn)
MySqlCmd.ExecuteNonQuery()
MySqlCmd = New MySqlCommand("CREATE TABLE whatever (id INT(6) NOT NULL AUTO_INCREMENT, PRIMARY KEY (id));", MySqlConn)
MySqlCmd.ExecuteNonQuery()

Bob

Options: ReplyQuote


Subject
Written By
Posted
Re: Need Assistance Trying to CREATE a table in VB.Net
August 03, 2014 08:12AM


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.