note 103490 added to function.mssql-query
| From: | naudefj at gmail dot com | Date: | Fri, 15 Apr 2011 16:35:29 +0000 |
| Subject: | note 103490 added to function.mssql-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-178886@lists.php.net to get a copy of this message | ||
If you run 'CREATE TABLE' statements with mssql_query(), all columns that don't
explicitly specify 'NULL' will be created as 'NOT NULL'. The default for ALL
known databases (including MS-SQL) is to allow nulls (i.e. NULL). This driver's default is thus
irrational and may lead to strange bugs.
The issue is documented at: http://dba.fyicenter.com/faq/
sql_server_2/PHP_MSSQL_Making_Columns_to_Take_NULL.html
----
Server IP: 69.147.83.197
Probable Submitter: 196.25.253.13 (proxied: 41.240.193.166)
----
Manual Page -- http://www.php.net/manual/en/function.mssql-query.php
Edit -- https://master.php.net/note/edit/103490
Del: integrated -- https://master.php.net/note/delete/103490/integrated
Del: useless -- https://master.php.net/note/delete/103490/useless
Del: bad code -- https://master.php.net/note/delete/103490/bad+code
Del: spam -- https://master.php.net/note/delete/103490/spam
Del: non-english -- https://master.php.net/note/delete/103490/non-english
Del: in docs -- https://master.php.net/note/delete/103490/in+docs
Del: other reasons-- https://master.php.net/note/delete/103490
Reject -- https://master.php.net/note/reject/103490
Search -- https://master.php.net/manage/user-notes.php