Hi Yogita ,
You done nice way but its having some problem in database.make sure that in that user schema whether tables are there or not?
and instead of localhost use IP.
if not you can follow other approach use" Microsoft ODBC for Oracle"
for this please follow below link
You told its resolved.how?
I am having the same issue i am unable to retrive the tables.
"Database:MS SQL Server
Please help if you have resolved this issue.Any helpful links plz forward firstname.lastname@example.org