Jump to content
  • 0

Ajutor UPDATE MYSQL in baza de date (MYSQL R41-4)


Question

Posted

Salut, a intervenit o problema care nu-i dau de cap deoarece formatul meu nu doreste sa faca UPDATE in baza de date.

Ce lucru gresit as fi putut scrie cu format-ul acesta? Tin sa mentionez ca am lucrat pe mysql r39-6 si foloseam formatul acesta pentru update-uri.

Poza:

https://imgur.com/a/BX4qfEN

3 answers to this question

Recommended Posts

  • 0
Posted

As verifica mysql_log sa vad daca sunt probleme pentru ca ce ai tu acolo nu s-a modificat intre versiuni

Edit: Nu trebuie sa pui ` la %d , daca vrei neaparat sa pui ceva poti pune apostrof ' . Tilda ` e doar pentru coloane nu si pentru valori

  • 0
Posted

In primul query nu ai coloana Cash in baza de date pentru tabelul server_accounts

In al doilea query,  ai pus tilda in loc  apostrof. cum am spus, tilda e doar pentru coloane nu pentru valori deci va fi nevoie sa folosesti WHERE `ID` = '%d'

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.