I have a stored procedure on my mSQL 2k server which reads this:create proc new_registrations (@uid char, @pass char, @charactername char, @realname varchar, @email varchar) asinsert into requested (uid, pass, charactername, realname, email) values (@uid, @pass, @charactername, @realname, @email)return
To call that procedure and pass data to it I use a perl script that has this line of code:$sth = $dbh -> prepare (q~execute new_registrations uid, pass, charactername, realname, "email@mail.com"~) or die "Could not prepare statement: $DBI::errstr; stopped";$sth -> execute() or die "Could not execute SQL statment: $DBI::errstr; stopped";
Now when I run the script it runs and puts the data intothe database, but the problem is it only puts the first letter of each entry in. So when I vew the data it looks like this:u, p, c, r, eWhat am I screwing up to cause the DB only to get the first letter of each entry?--For those with wings, fly to your dreamsDearms are what are found at the end of reality, and your reality if what is found at the end of your dreams.