note 30478 added to function.mssql-guid-string

From: Date: Wed, 19 Mar 2003 13:25:06 +0000
Subject: note 30478 added to function.mssql-guid-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-45518@lists.php.net to get a copy of this message
Using MSSQL2000 and PHP4.3.1 and FreeTDS-0.61 (always compile it with --enable-msdblib --with-tdsver=7.0 for proper working) this function won't give you the strings what you can see in MS's Enterprise Manager for uniqueidentifiers! And the given strings also useless in SELECTs! To get the number what you can reuse in later SELECTs, use this: $q1 = mssql_query("SELECT cast(id as varchar(36)) FROM sales WHERE ..."); where in table 'sales' the column 'id' type is uniqueidentifier. -- http://www.php.net/manual/en/function.mssql-guid-string.php http://master.php.net/manage/user-notes.php?action=edit+30478 http://master.php.net/manage/user-notes.php?action=delete+30478 http://master.php.net/manage/user-notes.php?action=reject+30478

« previous php.notes (#45518) next »