MySQL Forums
Forum List  »  Stored Procedures

stored proc help
Posted by: ryan
Date: February 08, 2006 05:08PM

ok so I'm trying to move some procs to MySQL and this is what I did:

CREATE PROCEDURE Products.TrafficTrack (IN SiteID INT,IN AffiliateID INT,IN IPAddress VARCHAR(15)) ..... INSERT INTO TrafficTrack(SiteID,AffiliateID,IPAddress,DateTime) VALUES (@SiteID,@AffiliateID,@IPAddress,now());

now I'm trying execute it like this

call TrafficTrack(@1,@1,@"192.168.101.187");

and its inserting null for each param.

please help!

thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
stored proc help
2250
February 08, 2006 05:08PM
1599
February 08, 2006 05:13PM
1343
February 08, 2006 05:15PM
1379
February 09, 2006 10:51AM
1480
February 14, 2006 08:30AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.