- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ORA-00908 when try to update table
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2005 06:30 AM
тАО06-17-2005 06:30 AM
ORA-00908 when try to update table
when i run this I get a:
ERROR at line 1:
ORA-00908: missing NULL keyword
cat file |while read i
do
echo `date` "Changing $i"
sqlplus -s user/passwd <
commit;
EOF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2005 06:45 AM
тАО06-17-2005 06:45 AM
Re: ORA-00908 when try to update table
My guess is that 'cat file' contains an empty line which results in the error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2005 06:47 AM
тАО06-17-2005 06:47 AM
Re: ORA-00908 when try to update table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2005 06:58 AM
тАО06-17-2005 06:58 AM
Re: ORA-00908 when try to update table
Have you tried to find out when the error happens? You apparently have a logging function via the 'echo' command.
I can sort-of produce this (Cygwin on Windows xP) if I complete the final line with a line-feed:
$ od -x a.txt
0000000 0a61 0a62 0a63 000a
0000007
$ cat a.txt
a
b
c
$ cat a.txt | while read i ; do echo .$i.; done
.a.
.b.
.c.
..
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2005 07:18 AM
тАО06-17-2005 07:18 AM
Re: ORA-00908 when try to update table
I eve dos2ux it. No blank lines, carridge returns nothing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2005 07:31 AM
тАО06-17-2005 07:31 AM
Re: ORA-00908 when try to update table
where pn_num = '$i'
not like!!!