tux402 has asked for the wisdom of the Perl Monks concerning the following question:
'Calls Received'=>"SELECT COUNT(DISTINCT sessionID ) FROM AgentConnect +ionDetail WHERE startDateTime BETWEEN '$yesterday' AND '$today'"
'Calls Received'=>qq{"SELECT COUNT(DISTINCT sessionID ) FROM AgentConn +ectionDetail WHERE startDateTime BETWEEN '$yesterday' AND '$today'"}
Any ideas?DBD::ODBC::db prepare failed: [FreeTDS][SQL Server]Statement(s) could +not be prepared. (SQL-42000) [FreeTDS][SQL Server]The identifier that starts with 'SELECT COUNT(DIS +TINCT sessionID ) FROM AgentConnectionDetail WHERE startDateTime BETW +EEN '2009-01-04 15:41:51.000' AND '2009-01-' is too long. Maximum len +gth is 128. (SQL-42000) at ./voip.pl line 75. Can't call method "execute" on an undefined value at ./voip.pl line 76 +.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Quote-like operators in a hash
by kyle (Abbot) on Jan 05, 2009 at 16:31 UTC | |
by tux402 (Acolyte) on Jan 05, 2009 at 17:10 UTC | |
by Rodster001 (Pilgrim) on Jan 05, 2009 at 18:49 UTC | |
by Bloodnok (Vicar) on Jan 05, 2009 at 17:49 UTC | |
by tux402 (Acolyte) on Jan 05, 2009 at 19:00 UTC | |
by kyle (Abbot) on Jan 05, 2009 at 19:10 UTC | |
|