I use Oracle 10g with Client9
In SQL Navigator this works:
But when I use exactly same SQL from VB it doesen't work?Code:SELECT (SELECT Count(*) from tbllev) totalrows, salesorder, customer, idt FROM tblLev
vb Code:
SQL = "SELECT (SELECT Count(*) from tblLev) totalrows, salesorder, customer, idt FROM tblLev"
I get error "ORA-00936: missing expression"
If I remove this from the SQL string: (SELECT Count(*) from tblLev) totalrows, it works from VB?




Reply With Quote