2021-08-17 Fred Gleason <fredg@paravelsystems.com>

* Added disambiguation info regarding apostrophes vs. backticks
	to the 'SQL STATEMENTS' section of 'CODINGSTYLE'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-08-17 11:06:44 -04:00
parent 8387805b72
commit b7e264ef04
2 changed files with 5 additions and 1 deletions

View File

@ -179,7 +179,8 @@ SQL STATEMENTS:
When embedding SQL statements in code, the following guidelines should be
followed:
1) All identifier fields should be enclosed in backtick characters.
1) All identifier fields should be enclosed in backticks (ASCII 0x2C)
characters (NOT to be confused with apostrophes, see below).
Good:
sql="select `FIELD1`,`FIELD2` from `MY_TABLE` where `ID`=2";

View File

@ -22298,3 +22298,6 @@
* Fixed a regression in rdadmin(1) the 'Rivendell Dropbox
Configurations' dialog that caused corruption of dropbox
settings.
2021-08-17 Fred Gleason <fredg@paravelsystems.com>
* Added disambiguation info regarding apostrophes vs. backticks
to the 'SQL STATEMENTS' section of 'CODINGSTYLE'.