SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: MSSQL vs MySQL - Syntax
-
Jan 27, 2006, 09:07 #1
- Join Date
- Apr 2004
- Location
- dublin
- Posts
- 2,036
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
MSSQL vs MySQL - Syntax
Hi all,
What is the proper way of using the below query for MSSQL Server?
$result = mysql_query($query) or die(mysql_error());
Thanks.
Kevin.
Can someone please move this thread to PHP forum.
Thanks.Last edited by obrienkev; Jan 27, 2006 at 11:18. Reason: Move to PHP Please
-
Jan 27, 2006, 11:05 #2
- Join Date
- Feb 2004
- Location
- Tampa, FL (US)
- Posts
- 9,854
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
you'll probably get a better answer in the PHP forum.
-
Jan 27, 2006, 12:22 #3
- Join Date
- Apr 2005
- Posts
- 139
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I think:
$result = mssql_query($query) or die(mssql_error());
Nicolas
-
Jan 30, 2006, 03:45 #4
- Join Date
- Apr 2004
- Location
- dublin
- Posts
- 2,036
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
mssql_error() isn't listed on PHP.net as an SQL Server function.
-
Jan 30, 2006, 07:31 #5
- Join Date
- Apr 2005
- Posts
- 139
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Right, i didn't see it listed in php.net, but i did see it in some of the User Contributed Notes of php.net.
mssql_query() is listed though.
Bookmarks