Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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
Replies are listed 'Best First'.
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 exploiting the Monastery: (13)
As of 2015-07-07 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls