Forum: MySQL Aug 28th, 2008 |
| Replies: 6 Views: 3,309 Oh yes thats fine but im just wondering cause its a bug that been around for ages.
Example:
- I add a row with the wrong values and that takes up the auto increment of number 31
- I delete the... |
Forum: MySQL Aug 25th, 2008 |
| Replies: 6 Views: 3,309 There must be a fix or way around.
This is a big problem which ive seen re occuring all the time.
Any Ideas?
Thanks, Regards X |
Forum: MySQL Aug 25th, 2008 |
| Replies: 6 Views: 3,309 I am using phpMyAdmin and as I delete a row, it stuffs up the auto increment once I insert a new row.
Example:
Delete - 21
Insert - 22 (should be 21)
Thanks, Regards X |
Forum: MySQL May 18th, 2008 |
| Replies: 4 Views: 5,945 I figured it out!
Stupid Syntax imo but I know now.
Go the mysql reference manual! |
Forum: MySQL May 16th, 2008 |
| Replies: 4 Views: 5,945 Ya thats what I have been trying.
The problem is I keep getting the same result.
That is:
The table comes out perfect BUT
it comes out backwards...
So what should be first is last, second... |
Forum: MySQL May 16th, 2008 |
| Replies: 3 Views: 647 Field Type Collation Attributes Null Default Extra Action
a int(2) Yes 0
they all have the same structure, thats copied and pasted straight from phpMyAdmin.
But like I... |
Forum: MySQL May 16th, 2008 |
| Replies: 4 Views: 5,945 I have multiple columns I wish to order by.
I have columns:
# # # # (1, 2, 3, 4)
A 0 0 0 0
B 1 0 1 3
C 1 0 2 3
I want to ORDER BY 4, 3, 2, 1. |
Forum: MySQL May 16th, 2008 |
| Replies: 3 Views: 647 "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near."
Now this is a really stupid error. (yes that sums up the... |
Forum: MySQL Jan 13th, 2008 |
| Replies: 4 Views: 2,128 Theres 500 lines worth, so I wont be spamming the forums. In short I just need some sort of concept or idea that allows you to access a row not based on the Primary Key. Eg:
SELECT * FROM WHERE... |
Forum: MySQL Jan 13th, 2008 |
| Replies: 4 Views: 2,128 Im trying to figure out a way to access a row I 'just created' via the primary key.
As it being a primary key it is auto incremented.
I am using php/mysql to create the row then I require to... |