Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Database reserved words: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
mCap resum de modificació
m (redirect to the other alternative under XMLDB docs.)
Línia 1: Línia 1:
It would be really helpful to have a list here. In the meantime, here are some links:
#REDIRECT [[XMLDB reserved words]]
 
* [http://www.postgresql.org/docs/current/static/sql-keywords-appendix.html#KEYWORDS-TABLE Postgres]
* [http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html MySQL]
* [http://msdn2.microsoft.com/en-us/library/ms189822.aspx MSSQL]
* [http://www.cs.umbc.edu/help/oracle8/server.815/a67779/ap_keywd.htm Oracle]
* [http://publib.boulder.ibm.com/infocenter/db2e/v8r2/index.jsp?topic=/com.ibm.db2e.doc/db2eresword.html DB2]
 
Even better: [http://www.petefreitag.com/tools/sql_reserved_words_checker/?word=user SQL Reserved Words Checker].
 
It would be really good if the new XMLdb functions checked column and table names against these lists and refused to created things with reserved words as names.
 
Or alternatively, if they guaranteed to escape all SQL so it did not matter if we used reserved words.

Revisió del 15:38, 21 ago 2006