Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: XMLDB preliminary links.

Development:XMLDB preliminary links: Difference between revisions

From MoodleDocs
m (Reverted edit of Julli9, changed back to last version by Stronk7)
m (cat edit)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[XML database schema]] > XMLDB preliminary links
[[Development:XMLDB Documentation|XMLDB Documentation]] > [[Development:XMLDB introduction|Introduction]] > XMLDB preliminary links
----
----
This page includes all the links that were found googling the Internet, searching for info, examples, paths and solutions to the whole project of increasing the supported databases working together with Moodle 1.7 and upwards.
This page includes all the links that were found googling the Internet, searching for info, examples, paths and solutions to the whole project of increasing the supported databases working together with Moodle 1.7 and upwards.
Line 36: Line 36:
* http://support.microsoft.com/default.aspx?scid=KB;EN-US;232580: The declaration
* http://support.microsoft.com/default.aspx?scid=KB;EN-US;232580: The declaration
* http://www.freetds.org/userguide/unicodefreetds.htm: Will this work, yes or no? Not clear documentation
* http://www.freetds.org/userguide/unicodefreetds.htm: Will this work, yes or no? Not clear documentation
* (NP! It works! Data is converted from UCS-2 to UTF-8 by FreeDTS on the fly, using iconv)
* (NP! It works! Data is converted from UCS-2 to UTF-8 by FreeDTS on the fly, using iconv) - FreeDTS is perfect but only for Unix clients connecting to MSSQL.
* Continue looking for a UTF-8 <==>UCS-2 client solution for Windows clients.
* Solution found! See [[XMLDB Problems#MSSQL, PHP, UTF-8 and UCS-2]] for more info.


==== LIMIT clause ====
==== LIMIT clause ====
Line 43: Line 45:
* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenethowto05.asp: MS proposed solution (problems in the last page of the results, always returning  ''numrown'' instead of the rest and requiring some deterministic order by).
* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenethowto05.asp: MS proposed solution (problems in the last page of the results, always returning  ''numrown'' instead of the rest and requiring some deterministic order by).
* http://troels.arvin.dk/db/rdbms/#select-limit: Nice page explaining diferences and worarrounds between different RDBMS (select-limit and others)
* http://troels.arvin.dk/db/rdbms/#select-limit: Nice page explaining diferences and worarrounds between different RDBMS (select-limit and others)
==== OUTER joins ====
Apart from custom operators supported by different RDBMS, ANSI OUTER joins should be used to guarantee cross-db compatibility:
(note that, for INNER joins the traditional - and common - syntax is preferred instead of the ANSI one)
* MySQL: http://dev.mysql.com/doc/refman/5.0/en/join.html
* PostgreSQL: http://www.postgresql.org/docs/8.1/static/tutorial-join.html
* MSSQL: http://www.databasejournal.com/features/mssql/article.php/1438001
* Oracle: http://www.adp-gmbh.ch/ora/sql/join/ansi.html


==== Some related experiences ====
==== Some related experiences ====
Line 48: Line 60:
* http://drupal.org/node/39260
* http://drupal.org/node/39260


[[Category:Developer]]
[[Category:XMLDB]]
[[Category:XMLDB]]

Latest revision as of 10:11, 18 June 2007

XMLDB Documentation > Introduction > XMLDB preliminary links


This page includes all the links that were found googling the Internet, searching for info, examples, paths and solutions to the whole project of increasing the supported databases working together with Moodle 1.7 and upwards.

The list below isn't ordered, nor well classified, some of the links could be inaccurate, inexact or trivial, but they have been part of the preliminary work, so they will remain here. Thanks to all of them!

From ADOdb HQ

Installation instructions

Useful links

SQL*Server working in UCS-2 (no UTF-8)

LIMIT clause

OUTER joins

Apart from custom operators supported by different RDBMS, ANSI OUTER joins should be used to guarantee cross-db compatibility: (note that, for INNER joins the traditional - and common - syntax is preferred instead of the ANSI one)

Some related experiences