$Sql ="SELECT MIN(CAST(TU01_DISCH,DECIMAL(20,2))) AS TU01_DISCH_MIN FROM WL_DISCH_15MIN WHERE (DATE_TIME>='$Dt')AND(DATE_TIME<='$Dt_1') AND TU01_DISCH > 0";
มันขึ้นยังงี้อะครับ
Code
Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]'DECIMAL' is not a recognized built-in function name., SQL state 37000 in SQLExecDirect in C:\AppServ\www\project_ur\WL_DISCH_15MIN_UPDAM.php on line 219