in reply to Re: DBI:Sybase - Period in database name
in thread DBI:Sybase - Period in database name
$DBNAME = $dbh->quote_identifier( $DBNAME );
$dbh->do("use $DBNAME");
results in
DBD::Sybase::db do failed: Server message number=170 severity=15 state=1 line=1 server=SQLSERVER text=Line 1: Incorrect syntax near 'ps_inventory.ad'.
(I did throw some additional debugging in there temporarily and it is quoting the $DBNAME but DBD::Sybase is still throwing the error.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: DBI:Sybase - Period in database name
by Anonymous Monk on Feb 23, 2013 at 07:49 UTC |