Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-07-26 : 09:48:13
|
| Gaurav writes "Hi,I am getting an error message when i am executing my .asp page. This error message says :Error Type:Microsoft OLE DB Provider for SQL Server (0x80040E14)Line 1: Incorrect syntax near '#'./target/wrapDailyReport.asp, line 57Line 57 contains the code :set rsCalls = connUpdate.Execute(strSQL)strSQL contains strWhere = " ((tcl.callDate >= " & DateFormat(dtStart) & " and tcl.callDate <= " & DateFormat(dtEnd) & ") or tcl.callDate IS NULL)"strSQL = "select tcc.callCode, tcc.callDescription, tcl.callType, tcl.callCount " & _" from tblCallLog tcl RIGHT OUTER JOIN tblCallCodes tcc ON tcl.callCode = tcc.callCode " & _" where " & strWhere & _" order by tcc.callCode, tcl.callType"the portion for connection is written in the file db.asp as :Function ConnectString()ConnectString = "provider=SQLOLEDB;user id=sa;password=;Data Source=10.10.1.41;database=targetwrap;"End FunctionCan u help me in solving this problem of mine.I am using SQL Server 7.0 and windows 2000 server.Thanks,Gaurav" |
|
|
|
|
|