Perl: the Markov chain saw | |
PerlMonks |
Re: connection to DBby AppleFritter (Vicar) |
on Oct 16, 2015 at 20:31 UTC ( [id://1145152]=note: print w/replies, xml ) | Need Help?? |
You'll need the appropriate database driver (i.e. DBD:: module) installed to access any database. A quick CPAN search indicates that none exists for RainStor, though given that RainStor is apparently part of Teradata these days perhaps the Teradata driver will work. (Only one way to find out - have you tried?) With the right driver in place, the basic procedure for connecting is the same, with the caveat that the syntax of the connect string itself - the dbi:Teradata:$DSN:1025 bit from your example - is driver-dependent. From the DBI documentation:
Finally, tdat_lsn appears to be a Teradata-specific attribute, so you may have to read up on what it does and find an equivalent if you're looking to connect to a different type of database. The DBD::Teradata documentation (here, not on CPAN) has this to say:
I reckon LSN may stand for "log sequence number", but you'll know better than I do.
In Section
Seekers of Perl Wisdom
|
|