Link to home
Create AccountLog in
Avatar of bergstrom_davin
bergstrom_davin

asked on

PHP MSSQL Determining Types

Is there an easy way to get the types of MSSQL fields? (IE int, bool, text, varchar) ...So I can determine how to insert update and ... data into a database?
ASKER CERTIFIED SOLUTION
Avatar of SQL_SERVER_DBA
SQL_SERVER_DBA
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of bergstrom_davin
bergstrom_davin

ASKER

Thanks you for the quick reply, but I am not sure if my question was clear.

I need to retrieve the datatype of a field using php.

I started researching OpenSchema, but am not sure how to implement this. I was looking for a php built in function or a simple class.