mysql - Should I use the commands My Sql in capital letters? -
this question has answer here:
- is sql syntax case sensitive? 10 answers
please excuse me if question simple. because when see the examples php
, mysql
in internet, use capital letters commends mysql
.
is necessary use the capital letters in mysql
?
$sql = "insert myguests (firstname, lastname, email) values ('john', 'doe', 'john@example.com')";
it not required use capital letters. use small letters too.
however structure of code, beautify code , show highlights better use capital letters in syntax such insert instead of insert. identify when write complicated scripts subqueries.
and per human nature, capital letters fast visible small letters.
hope helps.
Comments
Post a Comment