Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: DBI:Sybase - Period in database name

by apu (Novice)
on Feb 23, 2013 at 02:13 UTC ( #1020268=note: print w/ replies, xml ) Need Help??


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.)


Comment on Re^2: DBI:Sybase - Period in database name
Re^3: DBI:Sybase - Period in database name
by Anonymous Monk on Feb 23, 2013 at 07:49 UTC
    what does sybase manual say about quoting database names? about error (number 170) ?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020268]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2014-09-18 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (116 votes), past polls