I need to select multiple select queries inside the C# code block. when I use it, I am getting an error such as an invalid character. I got that it is an error by using a semicolon inside the queries, Is there any solution for selecting multiple select queries?
I am using Oracle.ManagedDataAccess ExecuteReader for executing the query.
Query :
string query = @"select COUNT(*) POCount from BISC_PO_DETAIL where TXN_DATE = @today;
select COUNT(*) from BISC_ASN_DETAIL where TXN_DATE = @today";
I am getting this error as
Oracle.ManagedDataAccess.Client.OracleException: 'ORA-00911: invalid character
If I removed the semicolon then the error changes as
statement are not terminated properly