Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access ODBC Client Server > Access 2003 -> ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1444 of 1511
Post > Topic >>

Access 2003 -> Oracle ODBC Query ??s

by =?Utf-8?B?TWFyayBCdXJucw==?= <MarkBurns@[EMAIL PROTECTED] Feb 29, 2008 at 05:13 PM

I haven't had to do this before, and halfway through, I realized I may be 
taking the wrong approach here, so please allow me to drain your more 
experienced brains a bit...
Scenario: Access 2003 with ODBC Linked Oracle Tables (Oracle Ora9i ODBC 
Driver)

I'm building a dynamic SQL query such that the source Oracle tables have 
three name fields (first, middle, last), but we want to show a single 
concatenated name field for selection display purposes.
For a native JET query, I would simply put something like this together:
SELECT (blah blah)..., Nz([tbl].[firstname], '') & 
iif(len(nz([tbl].[middlename], '')) > 0, ' ', '') & ... as DisplayName,
...

However, since I'm dealing with an ORACLE ODBClink (one that MAY need to
run 
over a WAN link, at that), I'm wondering if I'm shooting myself in the
foot, 
performance-wise, by trying to do that in a case like this.

Is there a better way to construct my selection query so that I don't put 
myself in a world of hurt, performance-wise, as I execute this type of 
selection query?

What alternatives do I have to the above approach...?
....perhaps run my query to neaten up the names on a sub-query which just 
pulls the fields directly from oracle with no extra stuff involved
first...? 
or some other thoughts...?

Should I be trying to do this via an ODBCDirect connection instead (for 
above performance reasons)? If so, How can I accomplish the DisplayName 
neatening-up trick if Oracle will be chewing on the SQL instead of Jet...?
 




 2 Posts in Topic:
Access 2003 -> Oracle ODBC Query ??s
=?Utf-8?B?TWFyayBCdXJucw=  2008-02-29 17:13:02 
Re: Access 2003 -> Oracle ODBC Query ??s
"Alex Dybenko"   2008-03-01 11:08:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 22:53:56 CST 2008.