jeudi 27 décembre 2018

How to fix Query Execution in when table name is like "Create/DeleteStatus" in Mysql?

select count(*) from Create/DeleteStatus;

The above is the Table which is existed in my DB. It's also having some data. When I'm executing query it's giving error like,

Query execution failed

Reason: SQL Error [102] [42000]: Incorrect syntax near '/'.

Even If I used TILD symbol for the tabel, still it's giving error.

Query execution failed Reason: SQL Error [102] [42000]: Incorrect syntax near '`'.

I need to execute the query in Laravel Frame Work of PHP Can any one tell how to execute above query?



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2ES5JoG
via IFTTT

Aucun commentaire:

Enregistrer un commentaire