Chrispy's Adventures in Programming
Thursday, December 17, 2015
Example of a sql routine that counts and return the number of times an id appears on sql
DECLARE @AA INT
SET @AA=(SELECT COUNT(*) as TheCount From Coursework_Validation Where Outside_Institution_ID = @Outside_Institution_ID )
return @AA
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment