17.8. Sybase and Microsoft SQL Server

Sybase offers an industrial-strength database that stands out among other big competitors such as Oracle, Informix, and IBM's DB2. Unlike these other databases, Sybase is more available to developers with small budgets because of partnerships with application vendors.

Microsoft's SQL Server is a dressed-up version of Sybase. In fact, PHP's Sybase functions are able to connect to SQL Server databases. For the sake of code readability, there are function aliases for all the Sybase functions that start with mssql_ instead of sybase_, but I've left them out of the reference to save space.Table 17.13 lists all mssql_ aliases.

Table 17.13. MSSQL Functions
mssql_affected_rowsmssql_get_last_message
mssql_closemssql_min_client_severity ...

Get Core PHP Programming, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.