Can some one please tell me where to add this part:
ORDER BY dbo_PAYROLLDB_EMP.ENAME asc
into this sql statement:
SQL1 = "SELECT DISTINCTROW dbo_PAYROLLDB_EMP.ENAME, dbo_PAYROLLDB_EMP.PAYGROUP," & _
" dbo_PAYROLLDB_EMP.STAT_CODE, dbo_PAYROLLDB_DEPT.DESCRIPT," & _
"...
Can someone please tell me why I keep getting this error when running this sql statement:
Invalid syntax near '.'.
SQL1 = "SELECT dbo.PAYROLLDB_EMP.ENAME, dbo.PAYROLLDB_EMP.DEPARTMENT, dbo.PAYROLLDB_JBDES.DESCRIPT" & _
"FROM dbo.PAYROLLDB_EMP INNER JOIN dbo.PAYROLLDB_JBDES ON...
I am trying to write a MySQL query that has more than one WHERE statement using "or" .Can some one help?
$result= mysql_query ("SELECT * FROM $tablename WHERE Social_Security $
LIKE'%".$HTTP_POST_VARS["name"]."%'");
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.