dbTalk Databases Forums  

oracle sql plus - modified table column - but modification notshowing in odbc connection

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss oracle sql plus - modified table column - but modification notshowing in odbc connection in the comp.databases.oracle.misc forum.



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

Default oracle sql plus - modified table column - but modification notshowing in odbc connection - 03-24-2009 , 12:20 PM






Inside of Oracle Sql *plus
i use the commands alter table tablename
modify columname varchar2(10)
;

to change the field size to 10

When I open up Access to view the linked table via an odbc connection,
in the design view, it still shows the field as having a field size
of 5.

What did I miss.

This is all tied to a web app, where, I changed all of the web forms
to accept 10 characters.....

Reply With Quote
  #2  
Old   
Robert Klemme
 
Posts: n/a

Default Re: oracle sql plus - modified table column - but modification notshowing in odbc connection - 03-24-2009 , 12:45 PM






On 24.03.2009 19:20, BookerT wrote:
Quote:
Inside of Oracle Sql *plus
i use the commands alter table tablename
modify columname varchar2(10)
;

to change the field size to 10

When I open up Access to view the linked table via an odbc connection,
in the design view, it still shows the field as having a field size
of 5.

What did I miss.
Probably the refresh button in Access.

Quote:
This is all tied to a web app, where, I changed all of the web forms
to accept 10 characters.....
You have tied MS Access into a web app which also uses Oracle? That
sounds spooky.

Your question sounds more suitable for a MS Access specific forum. Even
there you should probably include the version of Access.

Good luck!

robert


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

Default Re: oracle sql plus - modified table column - but modification notshowing in odbc connection - 03-24-2009 , 12:54 PM



On Mar 24, 2:45*pm, Robert Klemme <shortcut... (AT) googlemail (DOT) com> wrote:
Quote:
On 24.03.2009 19:20, BookerT wrote:

Inside of Oracle Sql *plus
* i use the commands alter table tablename
modify *columname varchar2(10)
;

to change the field size to 10

When I open up Access to view the linked table via an odbc connection,
in the design view, it still shows the field *as having a field size
of 5.

What did I miss.

Probably the refresh button in Access.

This is all tied to a web app, where, I changed all of the web forms
to accept 10 characters.....

You have tied MS Access into a web app which also uses Oracle? *That
sounds spooky.

Your question sounds more suitable for a MS Access specific forum. *Even
there you should probably include the version of Access.

Good luck!

* * * * robert
Thanks...

no the web app is tied to oracle, but since it is an oracle databse,
sometimes, I will use Access (2007) to look at the database instead of
Oracle. Remember, I am just using the ODBC connection to make a link
to the tables...... thast is the only use for Access........

Refresh should not be an issue because I made the change yesterday,
and opened up a new conection to it today, so it should show the
updated value

But I hit refresh anyway, and no change. I wanted to make sure I
covered all of the oracle bases. if Oracle shows it as varchar2(10)
then it should allow 10 characters correct?

Another footnote. In my web app, I put in a digit in that field that
was bigger than 5 characters, but sure enough when I look at the
linked table in Access, it only shows 5 characters as the field limit
suggessts

Thanks


Reply With Quote
  #4  
Old   
BookerT
 
Posts: n/a

Default Re: oracle sql plus - modified table column - but modification notshowing in odbc connection - 03-24-2009 , 02:31 PM



On Mar 24, 2:54*pm, BookerT <ch... (AT) mierbo (DOT) com> wrote:
Quote:
On Mar 24, 2:45*pm, Robert Klemme <shortcut... (AT) googlemail (DOT) com> wrote:





On 24.03.2009 19:20, BookerT wrote:

Inside of Oracle Sql *plus
* i use the commands alter table tablename
modify *columname varchar2(10)
;

to change the field size to 10

When I open up Access to view the linked table via an odbc connection,
in the design view, it still shows the field *as having a field size
of 5.

What did I miss.

Probably the refresh button in Access.

This is all tied to a web app, where, I changed all of the web forms
to accept 10 characters.....

You have tied MS Access into a web app which also uses Oracle? *That
sounds spooky.

Your question sounds more suitable for a MS Access specific forum. *Even
there you should probably include the version of Access.

Good luck!

* * * * robert

Thanks...

no the web app is tied to oracle, but since it is an oracle databse,
sometimes, I will use Access (2007) to look at the database instead of
Oracle. *Remember, I am just using the ODBC connection to make a link
to the tables...... thast is the only use for Access........

Refresh should not be an issue because I made the change yesterday,
and opened up a new conection to it today, so it should show the
updated value

But I hit refresh anyway, and no change. * *I wanted to make sure I
covered all of the oracle bases. *if Oracle shows it as varchar2(10)
then it should allow 10 characters correct?

Another footnote. *In my web app, I put in a digit in that field that
was bigger than 5 characters, but sure enough when I look at the
linked table in Access, it only shows 5 characters as the field limit
suggessts

Thanks- Hide quoted text -

- Show quoted text -
Never mind, once I created a "new" database and relinked the tables,
it showed the updated field length size. Why a refresh did not do
that, I am not sure?



Reply With Quote
  #5  
Old   
ddf
 
Posts: n/a

Default Re: oracle sql plus - modified table column - but modification notshowing in odbc connection - 03-24-2009 , 02:36 PM



On Mar 24, 3:31*pm, BookerT <ch... (AT) mierbo (DOT) com> wrote:
Quote:
On Mar 24, 2:54*pm, BookerT <ch... (AT) mierbo (DOT) com> wrote:





On Mar 24, 2:45*pm, Robert Klemme <shortcut... (AT) googlemail (DOT) com> wrote:

On 24.03.2009 19:20, BookerT wrote:

Inside of Oracle Sql *plus
* i use the commands alter table tablename
modify *columname varchar2(10)
;

to change the field size to 10

When I open up Access to view the linked table via an odbc connection,
in the design view, it still shows the field *as having a field size
of 5.

What did I miss.

Probably the refresh button in Access.

This is all tied to a web app, where, I changed all of the web forms
to accept 10 characters.....

You have tied MS Access into a web app which also uses Oracle? *That
sounds spooky.

Your question sounds more suitable for a MS Access specific forum. *Even
there you should probably include the version of Access.

Good luck!

* * * * robert

Thanks...

no the web app is tied to oracle, but since it is an oracle databse,
sometimes, I will use Access (2007) to look at the database instead of
Oracle. *Remember, I am just using the ODBC connection to make a link
to the tables...... thast is the only use for Access........

Refresh should not be an issue because I made the change yesterday,
and opened up a new conection to it today, so it should show the
updated value

But I hit refresh anyway, and no change. * *I wanted to make sure I
covered all of the oracle bases. *if Oracle shows it as varchar2(10)
then it should allow 10 characters correct?

Another footnote. *In my web app, I put in a digit in that field that
was bigger than 5 characters, but sure enough when I look at the
linked table in Access, it only shows 5 characters as the field limit
suggessts

Thanks- Hide quoted text -

- Show quoted text -

Never mind, once I created a "new" database and relinked the tables,
it showed the updated field length size. *Why a refresh did not do
that, I am not sure?- Hide quoted text -

- Show quoted text -
The definition for the linked table in Access did not change when you
changed the source definition in Oracle.


David Fitzjarrell


Reply With Quote
  #6  
Old   
Robert Klemme
 
Posts: n/a

Default Re: oracle sql plus - modified table column - but modification notshowing in odbc connection - 03-24-2009 , 03:15 PM



On 24.03.2009 21:36, ddf wrote:
Quote:
On Mar 24, 3:31 pm, BookerT <ch... (AT) mierbo (DOT) com> wrote:
On Mar 24, 2:54 pm, BookerT <ch... (AT) mierbo (DOT) com> wrote:





On Mar 24, 2:45 pm, Robert Klemme <shortcut... (AT) googlemail (DOT) com> wrote:
On 24.03.2009 19:20, BookerT wrote:
Inside of Oracle Sql *plus
i use the commands alter table tablename
modify columname varchar2(10)
;
to change the field size to 10
When I open up Access to view the linked table via an odbc connection,
in the design view, it still shows the field as having a field size
of 5.
What did I miss.
Probably the refresh button in Access.
This is all tied to a web app, where, I changed all of the web forms
to accept 10 characters.....
You have tied MS Access into a web app which also uses Oracle? That
sounds spooky.
Your question sounds more suitable for a MS Access specific forum. Even
there you should probably include the version of Access.
Good luck!
robert
Thanks...
no the web app is tied to oracle, but since it is an oracle databse,
sometimes, I will use Access (2007) to look at the database instead of
Oracle. Remember, I am just using the ODBC connection to make a link
to the tables...... thast is the only use for Access........
Refresh should not be an issue because I made the change yesterday,
and opened up a new conection to it today, so it should show the
updated value
But I hit refresh anyway, and no change. I wanted to make sure I
covered all of the oracle bases. if Oracle shows it as varchar2(10)
then it should allow 10 characters correct?
Another footnote. In my web app, I put in a digit in that field that
was bigger than 5 characters, but sure enough when I look at the
linked table in Access, it only shows 5 characters as the field limit
suggessts
Thanks- Hide quoted text -
- Show quoted text -
Never mind, once I created a "new" database and relinked the tables,
it showed the updated field length size. Why a refresh did not do
that, I am not sure?- Hide quoted text -

The definition for the linked table in Access did not change when you
changed the source definition in Oracle.
OP, this is probably the time to switch to better tools than MS Access
(SQL Plus and SQL Developer come to mind).

Cheers

robert

--
remember.guy do |as, often| as.you_can - without end


Reply With Quote
  #7  
Old   
BookerT
 
Posts: n/a

Default Re: oracle sql plus - modified table column - but modification notshowing in odbc connection - 03-24-2009 , 03:40 PM



On Mar 24, 2:45*pm, Robert Klemme <shortcut... (AT) googlemail (DOT) com> wrote:
Quote:
On 24.03.2009 19:20, BookerT wrote:

Inside of Oracle Sql *plus
* i use the commands alter table tablename
modify *columname varchar2(10)
;

to change the field size to 10

When I open up Access to view the linked table via an odbc connection,
in the design view, it still shows the field *as having a field size
of 5.

What did I miss.

Probably the refresh button in Access.

This is all tied to a web app, where, I changed all of the web forms
to accept 10 characters.....

You have tied MS Access into a web app which also uses Oracle? *That
sounds spooky.

Your question sounds more suitable for a MS Access specific forum. *Even
there you should probably include the version of Access.

Good luck!

* * * * robert
Robert, the other basic thing that we missed, is I did not use the
commit work; command and that seemed to make a difference as well. So
it was not an Access problem, but a SQL issue, .. does that make sense?


Reply With Quote
  #8  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Re: oracle sql plus - modified table column - but modification not - 03-24-2009 , 03:55 PM



BookerT (chipw (AT) mierbo (DOT) com) wrote:
: On Mar 24, 2:45=A0pm, Robert Klemme <shortcut... (AT) googlemail (DOT) com> wrote:
: > On 24.03.2009 19:20, BookerT wrote:
: >
: > > Inside of Oracle Sql *plus
: > > =A0 i use the commands alter table tablename
: > > modify =A0columname varchar2(10)
: > > ;
: >
: > > to change the field size to 10
: >
: > > When I open up Access to view the linked table via an odbc connection,
: > > in the design view, it still shows the field =A0as having a field size
: > > of 5.
: >
: > > What did I miss.
: >
: > Probably the refresh button in Access.
: >
: > > This is all tied to a web app, where, I changed all of the web forms
: > > to accept 10 characters.....
: >
: > You have tied MS Access into a web app which also uses Oracle? =A0That
: > sounds spooky.
: >
: > Your question sounds more suitable for a MS Access specific forum. =A0Eve=
: n
: > there you should probably include the version of Access.
: >
: > Good luck!
: >
: > =A0 =A0 =A0 =A0 robert

: Robert, the other basic thing that we missed, is I did not use the
: commit work; command and that seemed to make a difference as well. So
: it was not an Access problem, but a SQL issue, .. does that make sense?

Quote:
does that make sense?
No. If you use ALTER TABLE then it was automatically committed.

Access stores details about the linked table. The only issue is the
correct/best way to force Access to update its local version of those
details.



Reply With Quote
  #9  
Old   
jgar the jorrible
 
Posts: n/a

Default Re: oracle sql plus - modified table column - but modification notshowing in odbc connection - 03-24-2009 , 04:39 PM



On Mar 24, 1:31*pm, BookerT <ch... (AT) mierbo (DOT) com> wrote:
Quote:
On Mar 24, 2:54*pm, BookerT <ch... (AT) mierbo (DOT) com> wrote:





On Mar 24, 2:45*pm, Robert Klemme <shortcut... (AT) googlemail (DOT) com> wrote:

On 24.03.2009 19:20, BookerT wrote:

Inside of Oracle Sql *plus
* i use the commands alter table tablename
modify *columname varchar2(10)
;

to change the field size to 10

When I open up Access to view the linked table via an odbc connection,
in the design view, it still shows the field *as having a field size
of 5.

What did I miss.

Probably the refresh button in Access.

This is all tied to a web app, where, I changed all of the web forms
to accept 10 characters.....

You have tied MS Access into a web app which also uses Oracle? *That
sounds spooky.

Your question sounds more suitable for a MS Access specific forum. *Even
there you should probably include the version of Access.

Good luck!

* * * * robert

Thanks...

no the web app is tied to oracle, but since it is an oracle databse,
sometimes, I will use Access (2007) to look at the database instead of
Oracle. *Remember, I am just using the ODBC connection to make a link
to the tables...... thast is the only use for Access........

Refresh should not be an issue because I made the change yesterday,
and opened up a new conection to it today, so it should show the
updated value

But I hit refresh anyway, and no change. * *I wanted to make sure I
covered all of the oracle bases. *if Oracle shows it as varchar2(10)
then it should allow 10 characters correct?

Another footnote. *In my web app, I put in a digit in that field that
was bigger than 5 characters, but sure enough when I look at the
linked table in Access, it only shows 5 characters as the field limit
suggessts

Thanks- Hide quoted text -

- Show quoted text -

Never mind, once I created a "new" database and relinked the tables,
it showed the updated field length size. *Why a refresh did not do
that, I am not sure?
Doing a quick google on access refresh, looks like it only refreshes
the data, not the metadata. cf http://msdn.microsoft.com/en-us/library/bb238065.aspx

In the Oracle world, it has long been a basic DBA habit to not change
metadata while people are accessing data. Any DDL does a commit
before and after the DDL, which kinda gets past a lot of potential
problems, so some people do it anyways, and there are exceptions with
certain DDL commands, truncate comes to mind. Any particular
application may not be happy with this, especially if it is not
written with an Oracle world-view in mind.

Of course, nowadays my car changes the number of cylinders it uses
while I'm driving - a feature with notable $ advantages, not a bug.
It's a brave new world.

jg
--
@home.com is bogus.
Weird spelling propagates from google code... http://www.google.com/search?hl=en&q=Permalnik+


Reply With Quote
  #10  
Old   
sybrandb@hccnet.nl
 
Posts: n/a

Default Re: oracle sql plus - modified table column - but modification not showing in odbc connection - 03-24-2009 , 11:35 PM



On Tue, 24 Mar 2009 14:40:34 -0700 (PDT), BookerT <chipw (AT) mierbo (DOT) com>
wrote:

Quote:
Robert, the other basic thing that we missed, is I did not use the
commit work; command and that seemed to make a difference as well. So
it was not an Access problem, but a SQL issue, .. does that make sense?
It makes no sense at all, as every DDL is automatically committed.
You really need some knowledge brushing up.
As soon as you change any table in Oracle, you'll need to *reattach*
it in Access, or the changed definition will not show up.
So it IS an Access problem, and a problem with your lack of knowledge.

--
Sybrand Bakker
Senior Oracle DBA


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.