I am using visual studio 2013 and oracle database. I can execute several table creation queries at once in one oracle, is this possible? I try to follow but not working
OracleCommand cmd = new OracleCommand(); cmd.Connection = con; cmd.CommandText = "create table test(name varchar2(50) not null)"+"create table test2(name varchar2(50) not null)"; //+ "create table test3(name varchar2(50) not null)"+"create table test3(name varchar2(50) not null)"; cmd.CommandType = CommandType.Text; cmd.ExecuteNonQuery();
Received error in cmd.ExecuteNonQuery ();
c # oracle plsql visual-studio
Hanni Aug 10 '15 at 10:32 2015-08-10 10:32
source share