note 94537 added to function.ibase-fetch-assoc

From: Date: Tue, 10 Nov 2009 23:23:17 +0000
Subject: note 94537 added to function.ibase-fetch-assoc
Groups: php.notes 
Request: Send a blank email to php-notes+get-162725@lists.php.net to get a copy of this message
Re:karasek Lowercase-fieldnames: firebird has three "modes" (dialects), and dialect1/2 is very old. Dialect 3 uses double-quotes to identify fieldnames, select "Id","Name" from "tbl_MyTable". If double-quotes are not passed, as in: select Id,Name from tbl_MyTable, firebird will "fall back" to dialect1 and read it as select ID,NAME from TBL_MYTABLE and will fail to retrive lower case fields. In short; * use dialect3. * Use double-quotes in sql-statements OR * Define all tables and fields as upper case. ---- Server IP: 69.147.83.197 Probable Submitter: 83.248.81.44 ---- Manual Page -- http://www.php.net/manual/en/function.ibase-fetch-assoc.php Edit -- https://master.php.net/note/edit/94537 Del: integrated -- https://master.php.net/note/delete/94537/integrated Del: useless -- https://master.php.net/note/delete/94537/useless Del: bad code -- https://master.php.net/note/delete/94537/bad+code Del: spam -- https://master.php.net/note/delete/94537/spam Del: non-english -- https://master.php.net/note/delete/94537/non-english Del: in docs -- https://master.php.net/note/delete/94537/in+docs Del: other reasons-- https://master.php.net/note/delete/94537 Reject -- https://master.php.net/note/reject/94537 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#162725) next »