MySQL Forums
Forum List  »  Stored Procedures

Re: stored proc help
Posted by: Peter Brawley
Date: February 08, 2006 05:13PM

1. What value does the var named @1 have?

2. What do you intend by the odd expression @"192.168.101.187"? If you want to pass a string literal, drop the '@'.

3. Your sproc declares IN params, but the expression VALUES (@SiteID,@AffiliateID,@IPAddress,now()) ignores them in favour of user vars.

PB

Options: ReplyQuote


Subject
Views
Written By
Posted
2251
February 08, 2006 05:08PM
Re: stored proc help
1600
February 08, 2006 05:13PM
1343
February 08, 2006 05:15PM
1379
February 09, 2006 10:51AM
1481
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.