Is the mapping of MS SQL data types to C/PHP data types documented somewhere? e.g. A similar mapping between SQL and CLR is documented here: Mapping CLR Parameter Data http://msdn.microsoft.com/en-us/library/ms131092.aspx Thanks, Trilok