fcl-db: tests: PostgreSQL stores unquoted identifiers in lower-case which is not compliant with SQL standard.
(and causes some tests fail)
Introduce sql server type identifier char case formating function.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27129 3ad0048d-3df7-0310-abae-a5850022a9f2
fcl-db: tests: set ID field value before post, because it is Required (not null)

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27130 3ad0048d-3df7-0310-abae-a5850022a9f2