|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Update gone crazy
Ok, so I'm doing an update like this:
UPDATE mytable SET myfield=myfield+myvalue WHERE otherfield='13' The problem is that the "otherfield" is VARCHAR(7) and FireBird updates other fields that begin with 13 (Ex: "13.01", "13.02"). Why is this happenig ? Am I doing something wrong ? ![]() |
|
#2
|
||||
|
||||
|
Quote:
Looks like I was actually passing this instead: UPDATE mytable SET myfield=myfield+myvalue WHERE otherfield=13 ... my mistake ![]() |
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > Update gone crazy |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|