Example how to get field types in MSSQL. You can use it on any query, even procedures.
Source code viewer
// connect to mssql // your query // fetch results $row_count = 0; foreach($row as $k => $v) { // echo field type $row_count++; } // after first row break (we have all necessary field types) break; } // close mssql connectionProgramming Language: PHP