The goal is to select all from all tables and store it in a dataset. I have an MS access database that appears to have independent (not related) tables. My select query in c# currently looks like this:
"SELECT * FROM tableA" + "SELECT * FROM tableB" + ... etc. but I keep getting "error in FROM clause" message.
How can I select from all tables in a database without using JOIN ? I could make an independent SELECT statement and store in an independent dataset for each table but there must be a better way ?
I have seen this achieved with a stored procedure because the procedure can just be
Create Procedure myProc
as
Begin
SELECT * FROM tableA
SELECT * FROM tableB
SELECT * FROM tableC
END
How can I achieve this with my query string in C#
Thanks in advance.