when i run the statement:
SQL> select rowid from student_semester;
ERROR at line 1:
ORA-01445: cannot select ROWID from a join view without a
key-preserved table
student_semester is a view with the sql :
CREATE OR REPLACE VIEW "ICEM_USER"."STUDENT_SEMESTER" ("STUD_ID",
"SEMESTER_STATUS_ID","SEMESTER_STATUS_YEAR",
"SEMESTER_STATUS_SEMESTER","SEMESTER_STATUS_PROGRA M",
"SEMESTER_STATUS_BRANCH","SEMESTER_STATUS_DESC ") AS
select
STUD_ID ,
SEMESTER_STATUS_ID ,
SEMESTER_STATUS_YEAR ,
SEMESTER_STATUS_SEMESTER ,
SEMESTER_STATUS_PROGRAM ,
SEMESTER_STATUS_BRANCH ,
SEMESTER_STATUS_DESC
from student_profile, semester_status
where stud_program = SEMESTER_STATUS_PROGRAM
Now, my users can't run query from a forms, which contains this
tables. Before yesterday, they able to do this.
Pls tell me what;s wrong and how to fix it.
TQ!
regards,
Tracy 2 16387 tr********@yahoo.com.hk (tracy) wrote in message news:<5c**************************@posting.google. com>... when i run the statement: SQL> select rowid from student_semester; ERROR at line 1: ORA-01445: cannot select ROWID from a join view without a key-preserved table
student_semester is a view with the sql : CREATE OR REPLACE VIEW "ICEM_USER"."STUDENT_SEMESTER" ("STUD_ID", "SEMESTER_STATUS_ID","SEMESTER_STATUS_YEAR", "SEMESTER_STATUS_SEMESTER","SEMESTER_STATUS_PROGRA M", "SEMESTER_STATUS_BRANCH","SEMESTER_STATUS_DESC ") AS select STUD_ID , SEMESTER_STATUS_ID , SEMESTER_STATUS_YEAR , SEMESTER_STATUS_SEMESTER , SEMESTER_STATUS_PROGRAM , SEMESTER_STATUS_BRANCH , SEMESTER_STATUS_DESC from student_profile, semester_status where stud_program = SEMESTER_STATUS_PROGRAM
Now, my users can't run query from a forms, which contains this tables. Before yesterday, they able to do this.
Pls tell me what;s wrong and how to fix it.
TQ!
regards, Tracy
Tracy,
My guess is that your view has been changed (or underlying tables),
your view is not updateable anymore. Post here full ddl for tables,
including pk constraints. tr********@yahoo.com.hk (tracy) wrote in message news:<5c**************************@posting.google. com>... when i run the statement: SQL> select rowid from student_semester; ERROR at line 1: ORA-01445: cannot select ROWID from a join view without a key-preserved table
student_semester is a view with the sql : CREATE OR REPLACE VIEW "ICEM_USER"."STUDENT_SEMESTER" ("STUD_ID", "SEMESTER_STATUS_ID","SEMESTER_STATUS_YEAR", "SEMESTER_STATUS_SEMESTER","SEMESTER_STATUS_PROGRA M", "SEMESTER_STATUS_BRANCH","SEMESTER_STATUS_DESC ") AS select STUD_ID , SEMESTER_STATUS_ID , SEMESTER_STATUS_YEAR , SEMESTER_STATUS_SEMESTER , SEMESTER_STATUS_PROGRAM , SEMESTER_STATUS_BRANCH , SEMESTER_STATUS_DESC from student_profile, semester_status where stud_program = SEMESTER_STATUS_PROGRAM
Now, my users can't run query from a forms, which contains this tables. Before yesterday, they able to do this.
Pls tell me what;s wrong and how to fix it.
TQ!
regards, Tracy
Tracy, what chaged between today and the day before yesterday when the
above query worked? Was Forms upgraded? Were either of the two
tables in the view modified? Was the view code replaced? Was index
maintenance ran on either of the base tables resulting in losing a PK
or UK definition?
Find what changed to find the cause of the problem.
HTH -- Mark D Powell -- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dave |
last post by:
After following Microsofts admonition to reformat my system before doing a
final compilation of my app I got many warnings/errors upon compiling an rtf
file created in word. I used the Help...
|
by: Tom |
last post by:
A question for gui application programmers. . .
I 've got some GUI programs, written in Python/wxPython, and I've got
a help button and a help menu item. Also, I've got a compiled file
made with...
|
by: Sarir Khamsi |
last post by:
Is there a way to get help the way you get it from the Python
interpreter (eg, 'help(dir)' gives help on the 'dir' command) in the
module cmd.Cmd? I know how to add commands and help text to...
|
by: Sudheer Kareem |
last post by:
Dear All
Please tell me how to assosiate help files with my Vb.net
Project.
Regards
Sudheer
|
by: wukexin |
last post by:
Help me, good men. I find mang books that introduce bit "mang header
files",they talk too bit,in fact it is my too fool, I don't learn it, I have
do a test program, but I have no correct doing...
| |
by: tbatwork828 |
last post by:
If you were like me trying to figure out how to launch context
sensitive help topic by the context id, here is the link:
http://weblogs.asp.net/kencox/archive/2004/09/12/228349.aspx
and if...
|
by: Colin J. Williams |
last post by:
Python advertises some basic service:
C:\Python24>python
Python 2.4.1 (#65, Mar 30 2005, 09:13:57) on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
With...
|
by: Steve |
last post by:
I have written a help file (chm) for a DLL and referenced it using Help.ShowHelp
My expectation is that a developer using my DLL would be able to access this help file during his development time...
|
by: JonathanOrlev |
last post by:
Hello everybody,
I wrote this comment in another message of mine, but decided to post it
again as a standalone message.
I think that Microsoft's Office 2003 help system is horrible, probably...
|
by: trunxnirvana007 |
last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"'
'UPGRADE_WARNING: Couldn't resolve...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |