|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Cant find error in my code
It works on my developer server but not my main one.. here is the code
<cfquery datasource="aeris7282"> UPDATE Pagoda SET PagodaHP = (SELECT battle.maxhp FROM battle WHERE battle.user_id = pagoda.user_id) WHERE EXISTS (SELECT battle.maxhp FROM battle WHERE battle.user_id = pagoda.user_id) </cfquery> sql syntax error :S |
|
#2
|
|||
|
|||
|
Do the two systems have different databases or DSN settings? There must be something different in the environments if the code runs on one and not the other.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
they have the same database... settings are the same i think.. is there any other way you can think i can do this code?
Quote:
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Cant find error in my code |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|