Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Access to MS Server

by Win (Novice)
on Nov 10, 2003 at 10:40 UTC ( #305845=note: print w/replies, xml ) Need Help??


in reply to Re: Access to MS Server
in thread Access to MS Server

Other things that confuse me about this code:

Should DESCRIPTION not be put down as DATA_SOURCE_DESCRIPTION?

When I run this code I get:

Undefined subroutine &Win32::ODBC::DataSources called at Data_B.pl lin +e 13.

What is the subroutine that I need for this code to work?

Can I specify the Server as 'local'?

I have tried switching Win32 to WinNT.

When do I use Win32::ODBC and when do I use DBD::ODBC?

Please answer any points that you can.

Replies are listed 'Best First'.
Re: Re: Re: Access to MS Server
by monktim (Friar) on Nov 12, 2003 at 22:48 UTC
    Hi Win,

    The code should work as is. Try to run this code by itself and then check the ODBC data sources in the Control Pannel. You should see "matt" or whatever you assign $server to.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2023-01-28 23:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?