freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "nitin" <nitin.v AT bplmail.com>
- To: <freetds AT lists.ibiblio.org>
- Subject: [freetds] Perl insert query
- Date: Sun, 23 Mar 2003 17:25:57 +0530
I've created a database called 'test' in MS SQL 7. When every i try to insert
a query using perl on Linux, i get the following error:
DBD::Sybase::db do failed: Server message number=208 severity=16 state=1
line=1 server=STREAM text=Invalid object name 'test'. at test.pl line 10.
The perl code is:
#!/usr/bin/perl
use DBI;
$ENV{'SYBASE'} = '/usr/local/freetds' unless $ENV{'SYBASE'};
my $dbh = DBI->connect('dbi:Sybase:server=test','test','test');
my $sql = qq/
INSERT INTO test
VALUES ('a','b',1)
/;
my $rv = $dbh->do( $sql );
$dbh->disconnect;
Can someone help me!!!!!!!!!
Thanx a lot
-
[freetds] Perl insert query,
nitin, 03/24/2003
- Re: [freetds] Perl insert query, Michael Peppler, 03/24/2003
- <Possible follow-up(s)>
-
RE: [freetds] Perl insert query,
Vecchio, Peppi, 03/24/2003
- Re: [freetds] Perl insert query, nitin, 03/24/2003
Archive powered by MHonArc 2.6.24.