dbTalk Databases Forums  

Need to use Oracle RowID through ODBC - is it possible?

comp.databases.ms-access comp.databases.ms-access


Discuss Need to use Oracle RowID through ODBC - is it possible? in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jonceramic
 
Posts: n/a

Default Need to use Oracle RowID through ODBC - is it possible? - 07-27-2009 , 03:45 PM






Hi All,

I am using Access as a quickie front-end to our Oracle databases.

One of our procedures writes the Oracle RowID to a custom column
called ROW_NUMBER.

I'd like to use that number in my WHERE clause for a table, but since
Access doesn't see "RowID" anywhere, Access's SQL treats it as a
parameter and asks me to enter "rowid" in as I execute the SQL.

Anyone know if it's possible to use the Oracle RowID from within
Access?

Thanks,

Jon

Reply With Quote
  #2  
Old   
Albert D. Kallal
 
Posts: n/a

Default Re: Need to use Oracle RowID through ODBC - is it possible? - 07-27-2009 , 05:51 PM






If you create a view, and then link to that view, then any query you build
in access based on that linked view can use the row_number...


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal (AT) msn (DOT) com

Reply With Quote
  #3  
Old   
jonceramic
 
Posts: n/a

Default Re: Need to use Oracle RowID through ODBC - is it possible? - 07-28-2009 , 05:48 PM



On Jul 27, 5:51*pm, "Albert D. Kallal" <PleaseNOOOsPAMmkal... (AT) msn (DOT) com>
wrote:
Quote:
If you create a view, and then link to that view, then any query you build
in access based on that linked view can use the row_number...

--
Albert D. Kallal * *(Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKal... (AT) msn (DOT) com
Gotcha. Thanks, Albert. It kills my "quick and dirty" effor to build
a View, but it's nice to know the method's there the next time someone
tells me I "can't" do it.

Jon

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.