I wanted to execute multiple queries in one. Is there a way to condense a bunch of queries into one big string and then execute it? Thanks in advance.
3
-
1What type of queries are you building?Anthony Forloney– Anthony Forloney2010-10-04 15:49:45 +00:00Commented Oct 4, 2010 at 15:49
-
I'm not sure this would make sense. What kind of result set would you get back if your queries look up all different columns in different tables? This would make sense for DML statements, you could just concatenate the query strings and execute, but not queries. Show use the queries in question and maybe we can help rebuild it?FrustratedWithFormsDesigner– FrustratedWithFormsDesigner2010-10-04 15:52:36 +00:00Commented Oct 4, 2010 at 15:52
-
Anthony, let's say there was a table full of meta data like Wordpress does it, and instead of executing 8-12 lines of separate sql queries for one table, I wanted to do it in 1 shot.willbeeler– willbeeler2010-10-06 14:35:15 +00:00Commented Oct 6, 2010 at 14:35
Add a comment
|