Bug #2484 SELECT SUBSTRING bug
| Submitted: | 22 Jan 2004 14:21 | Modified: | 22 Jan 2004 14:43 |
|---|---|---|---|
| Reporter: | Donny Simonton | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S2 (Serious) |
| Version: | 4.1 and 3.x | OS: | Linux (Linux) |
| Assigned to: | Dean Ellis | CPU Architecture: | Any |
[22 Jan 2004 14:21]
Donny Simonton
[22 Jan 2004 14:43]
Dean Ellis
This is expected behaviour. 1) The position for SUBSTRING() begins with 1, not 0. 2) Converting the integer 012345 to a string results in a string of '12345'. Thank you.
[22 Jan 2004 14:47]
Donny Simonton
We just figured that one out, sorry for wasting your time on this one.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
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.