| |

VerySource

 Forgot password?
 Register
Search
View: 3196|Reply: 8

It shows that the update was successful in sqlplus, but it is not actually updated

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-10-19 10:00:01
| Show all posts |Read mode
Very strange problem, I used a statement
update QBA01 set qm='Five Districts',dm='One Team',zm='Southern Trinity' where rq>=TO_DATE('2017-01-01','yyyy-mm-dd') and rq<TO_DATE ('2017-01-02','yyyy-mm-dd') and jh='N90-23'
Prompt in sql*plus

1 row has been updated.

But when I looked at the database, there was no update.
Which brother can help
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-10-19 15:45:02
| Show all posts
This problem is indeed. This phenomenon exists in both insert and update.
I don’t know the reason, haha
So I wrote a small program myself and put an edit to update the contents of the database.
You can also use sql scrapture (it seems to be misspelled) to update
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-10-19 16:00:01
| Show all posts
Is there no commit;
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-10-19 18:15:01
| Show all posts
No commit;
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Japan

Post time: 2020-10-19 19:45:01
| Show all posts
There must be no commit
Reply

Use magic Report

0

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-10-19 20:00:01
| Show all posts
Add a
commit;
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-10-19 20:30:01
| Show all posts
commit ...
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-10-19 21:00:01
| Show all posts
......, the second floor actually said that there are problems with insert and update. If there are such BUGs, ORACLE will not work, ha ha
Reply

Use magic Report

0

Threads

71

Posts

50.00

Credits

Newbie

Rank: 1

Credits
50.00

 China

Post time: 2020-10-19 21:30:02
| Show all posts
Must commit; after that, you can select new data from oracle
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list