NiteCrawlr
Programmer
Could somebody please tell me what is wrong with this Select???
Select * from ngrm10 where pcc_grm = '&pcc&' AND dte_grm >= #" & data_ini & "# AND dte_grm <= #" & data_fim & "#
I'm using it in an ASP page, it is returning the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '#'.
/rayan/resultado.asp, line 69
I don't know what is wrong.
Thanks a lot
Frederico
Select * from ngrm10 where pcc_grm = '&pcc&' AND dte_grm >= #" & data_ini & "# AND dte_grm <= #" & data_fim & "#
I'm using it in an ASP page, it is returning the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '#'.
/rayan/resultado.asp, line 69
I don't know what is wrong.
Thanks a lot
Frederico