Created by michel on 04/20/2024. Modified: 04/20/2024 12:18 AM

Message

A view of that name cannot be found in the specified database

Synopsis

when i try to connect to lotus notes SQL for some fields I'm haven't the value i'm have
" A view of that name cannot be found in the specified database"

i'm using this php code :

$mysql= new PDO('odbc:recherche','', '', array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\''));
$sql="SELECT * FROM frmReport WHERE txtReportID = '2012-02305'";
$mysql->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_OBJ);
$mysql->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);


$datas = $mysql->query($sql);

and i have this errors too


Erreur : SQLSTATE[S1000]: <>: 23405 [Lotus][ODBC Lotus Notes]Data truncation for column 37: set length for Text or Rich Text field to higher limit in ODBC.INI (SQLFetchScroll[23405] at ext\pdo_odbc\odbc_stmt.c:528)

Solutions

No documents found

Use this form to add a suggested cause or solution which you think might help.

Adding content is disabled. The spammer have won.