I\'m having some trouble with this statement, owing no doubt to my ignorance of what is returned from this select statement:
declare @myInt as INT set @myInt = (
select @myInt = COUNT(*) from myTable