Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Returning a value from a sub routine

by Roger (Parson)
on Nov 12, 2004 at 15:02 UTC ( [id://407372]=note: print w/replies, xml ) Need Help??


in reply to Returning a value from a sub routine

Your code does not specify which database to use on the sybase server. Most likely is that your connection succeeded, but defaults to the master database. A quick fix is to specify the name of the database in the $SQLDT like below:

select max(convert(char(12), Modified_Date, 101)) from databasename..Metrics

Assumes that you are using ASE of course.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-26 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found