- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Urgent!, update oracle table
Operating System - HP-UX
1752579
Members
4115
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО10-10-2003 05:17 AM
тАО10-10-2003 05:17 AM
Urgent!, update oracle table
Hi list,
I can select the data and trim it using the select statements
select ltrim(url,'"') from docpar
select datetime,substr(url,1,32) url,company,username from docpar
but I want to update it, how do I update?. I tried
update docpar
set url = replace(url,'"', ltrim(url,'"'))
update docpar
set url = substr(url,1,32)
Both does not work.
I can select the data and trim it using the select statements
select ltrim(url,'"') from docpar
select datetime,substr(url,1,32) url,company,username from docpar
but I want to update it, how do I update?. I tried
update docpar
set url = replace(url,'"', ltrim(url,'"'))
update docpar
set url = substr(url,1,32)
Both does not work.
UNIXDUDE
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2003 04:21 PM
тАО10-10-2003 04:21 PM
Re: Urgent!, update oracle table
hi robert,
-
to make thing easier, can you please:
a. post the error you are getting
b. confirm whether you are the owner of the table being updated.
-
revert
-
regards
Yogeeraj
-
to make thing easier, can you please:
a. post the error you are getting
b. confirm whether you are the owner of the table being updated.
-
revert
-
regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2003 07:52 PM
тАО10-10-2003 07:52 PM
Re: Urgent!, update oracle table
Can you please post the Errors ??
These are the general errors when Object locked--------------
"ORA-00054: resource busy and acquire with NOWAIT specified"
Occurs when you attempt to lock NOWAIT and the resource is already locked.
"ORA-00060 deadlock detected while waiting for resource"
The rule is that primary keys must be preserved during the transaction.
You may be referencing a Foriegn and check the Primary key and the constraints of the
table.
These are the general errors when Object locked--------------
"ORA-00054: resource busy and acquire with NOWAIT specified"
Occurs when you attempt to lock NOWAIT and the resource is already locked.
"ORA-00060 deadlock detected while waiting for resource"
The rule is that primary keys must be preserved during the transaction.
You may be referencing a Foriegn and check the Primary key and the constraints of the
table.
Information is Wealth ; Knowledge is Power
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP