Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO Question

Status
Not open for further replies.

MaeJams

Programmer
Apr 24, 2001
51
US
I have an Oracle SQL statement running through a VB DLL. The Oracle SQL runs fine when running in a SQL tool, but when attempting to run through ADO in the VB DLL, the ORDER BY clause does not seem to function. The records are returned fine, but the records are not ordered as specified in the ORDER BY clause. This SQL statement involves the use of a MINUS keyword...

SELECT statement 1
MINUS
(SELECT statement 2)
ORDER BY
Field1

If anyone has any advice to offer, I would greatly appreciate it.

Thanks,
Rich
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top