Thanks to all who responded to my post.
I had everything but the "import process" right.
I was trying to use "mysqlimport databasename /home/Lamar/filename". but
kept getting error message. I can't remember offhand what the error message
was, but I used the method be
using the database on my local machine, but I
want the database on the webserver.
I appreciate any direction or guidance.
sincerely,
Lamar
-
Before posting, please check:
http://www.mysql.com/manual.php (the manual
Seifuddin, Lamar T.* (LSEIFUDD); [EMAIL PROTECTED]
Subject: RE: mysql - sql - auto-update cmd?
Lamar,
Why store that information? You'll be constantly updating your table. I do
something similar keeping softball stats for my team. I just keep the raw
data and do all calculations, i.e. batti
s, pct are fields of team table.
I want to enter wins and/or losses and have pct be automatically updated.
where pct is wins/(wins + losses)
or do I have to write a script (not lazy, just wanted to know if something
was available)
I appreciate any advice or direction.
than
t and start over?
I'd appreciate any helping me get on the straight and narrow. :-)
sincerely,
Lamar
-
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/
$sth) {
$db_errstr = $dbh->errstr();
return undef;
}
$sth->{'PrintError'} = !$Mysql::QUIET;
my $result = $sth->execute();
if (!$result) {
$db_errstr = $sth->errstr();
return undef;
Any help is greatly appreci