Hi everyone,

I'm trying to access a database in ASP with ADO using Perl although I'm
having some really big problems. I'm sure it's something really simple
and stupid but I can't figure out how to create the database connection
and open a recordset. In VBScript I have no problems, although I'm
struggling with Perl.

The sample code I have doesn't give me any clues as to how to open the
database I want....

# Create an instance of the ADO Connection object - I'm find with this
bit
#
#$Conn = $Server->CreateObject("ADODB.Connection");


# Open a system DSN - What's a DSN, and what is ADOSamples, a table to
database?
#
#$Conn->Open( "ADOSamples" );

# Execute an SQL Query - This opens a recordset from an SQL query but
what about just opening one from a table
#
#$RS = $Conn->Execute( "SELECT * FROM Orders" );

Thanks,

Chris



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to