A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hello,,,
the thing is that parameters is not appearing :(
i am using OLEDB to connect to oracle.
any hints?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
HI,
In an Excel sheet I did an Oracle SQL Connection and i need to do display the following results:
Select * From test_table where rownum < ???
Where ??? is equal to a data present in cell D4 of sheet 1.
How do i write my SQL statement inside the data connection?
THanks in advance.
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hello,,,
the thing is that parameters is not appearing :(
i am using OLEDB to connect to oracle.
any hints?
If is posible, change the conection type to Database Query..
Thank you for your help.
I think i'd need to write the whole thing in a macro..
thank you anywayz :D
You might also look into OO4O (Oracle Objects for OLE)
http://www.oracle.com/technetwork/database/windows/downloads/utilsoft-433581.html
I used it some years ago in working with an Oracle database and makes retrieving data quite easy. But looking at that page it looks like it hasn't been updated beyond a version for Excel 2003, which might or might not work with 2007/2010 32-bit, doubtful if it would work with 64-bit versions of Excel.
Voila
dim cn as connection
dim rs as recorset
strSql = "Select * From test_table where MyValue < ' " & sheet1!D4 & " ' ; "
rs.Open strSQL, cn, adOpenStatic, adLockReadOnly
Regards
JY