Passing a value out of a Stored Procedure
I've created this procedure to count the number of times a particular condition was met in a log file. CREATE PROCEDURE SP_SMTPSTATS AS DECLARE @TEST AS INT SELECT @TEST = COUNT (*) FROM smtpstats Where clienthost = "10.0.0.64" AND Operation = "Data" AND bytesrecvd > 200 AND bytesrecvd < 2000 ??????????????NOW WHAT???????????????????????????? GO Now I […]
2001-08-30
2 reads