Suppose I make a query "UPDATE table SET etc etc
"
Then I "Execute" this query
if the query is fine, it executes
and if the query has errors, it will return mysql errors
My question is...is there a way to do the following:
if the query has errors, it will return mysql errors. However,
if the query is fine, DON'T execute and instead just say that the query is fine
In other words, is there a way to check that mysql will accept my query WITHOUT actually modifying the entries in the database in the event that there is no error?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…