|
-
August 9th, 2005, 05:15 PM
#1
ADO/Oracle- how do I avoid using a table's schema name
Using VC++ 6 with ADO.
I'm new to Oracle, so this may be a setup issue. Currently I have to qualify a table name with it's schema name in order for even the simpliest of queries to work ( e.g. SELECT * FROM SHEMANAME.MyTable ). How can I avoid having to qualify a table with it's schema???
Logging in, I've tried both MS and Oracle OLE DB provider's; here are the connection strings:
1.) _bstr_t connectString = "Provider=OraOLEDB.Oracle;Data Source=Cardlist;User Id=MyUserName;Password=MyPassword;";
2.) _bstr_t connectString = "Provider=msdaora;Data Source=Cardlist;User Id=MyUserName;Password=MyPassword;";
3.) _bstr_t connectString = "Provider=OraOLEDB.Oracle;Data Source=Cardlist;OSAuthent=1;";
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|