Is it possible to have multiple SQL instructions in a ADO.NET Command.CommandText property?
问题 Summary I'm currently writing an application where I have located my SQL instructions into a project's parameters. Within the code, I get the value of my query which returns the query itself. Let's for instance say that my SQL query is like so: select col1, col2, col3 from my_table Besides, col1 , col2 and col3 are from different tables and are migrated as foreign key into my_table. So, when it comes to the insert, I have to perform multiple INSERT statements to get the values from the other