Multiple queries on MS Access
Hi,
I am going through some serious problem with ms access queries. I am trying to run multiple statements on ms access database in the "SQL View".
Moreover when I try to solve this problem through recordsets in ASP 3.0, I experience the same problem.
the error is thrown "characters found after the end of SQL statement"
I want to run 2 statements one after another on the same record set execution.
Example:
select * from temp; drop table temp;
its not working. ..eeeeh
why the hell ms access does not support multiple statements.
can anyone help me on this..
thanks,
Danish
multiple queries in SQL View
Hi,
I have had the same problem. I can only do one query at a time. If i try more than one after the semicolon, i get an error message just like the one described earlier.
I am using the query tool to create my queries. Your solution appears like VB code. Can we use VB code inside the queries? Or are you saying that i need to create a program to run my queries.
My question is probably rather newbie, but i don't have much experience with MS Access.
Thanks.