Need I lock the table?
How are you?
I developed an Online-Application System in high school with MySQL and PHP.
I met some troubled situation.
Students select some subject and then applied man become limit.
Then no more application possible.
I wrote the program with PHP.
But I found problem in DataBase.
The column has a number more than limit.
-----------------------------------------------------------------------
mysql> select count(st_num), subject_code from takelecture group by subject_code having count(st_num) > 40;
+---------------+--------------+
| count(st_num) | subject_code |
+---------------+--------------+
| 41 | subj106 |
| 41 | subj18 |
| 41 | subj203 |
| 42 | subj64 |
+---------------+--------------+
4 rows in set (0.01 sec)
--------------------------------------------------------------
Limit number is 40 but some rows have 41,,, have 42,,,
Why this situation caused?
May I use lock? How?
Let me know..please....
Subject
Views
Written By
Posted
Need I lock the table?
3113
July 15, 2005 05:55PM
1636
July 16, 2005 04:59AM
1946
July 17, 2005 11:02AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.