Le Coder

Le Coder

  • NA
  • 10
  • 0

Which is the separation character for ... ?

Jan 24 2008 5:37 PM
I want to combine these 2 queries :

            string query1 = "SELECT * FROM db1 ";
            string query2 ="SELECT * FROM db2 ";
            string query =query1 + query2;

The tutorial says that this works on SqlServer , but i am using Ms Access
And also the tutorial is saying that there should be a separator(but it doesn't says wich one .... ) between the queries i think something like this :


query =query1 +" ,"+ query2;

but this doesn't works .

Thanks

Answers (5)