Home Forums SQL Server 2008 SQL Server Newbies Help with Counts RE: Help with Counts
lkennedy76
SSChampion
Points: 13683
More actions
January 11, 2012 at 8:49 am
#1431857
I know your not inserting columns, :), After you insert you data into the table you are wanting to count the datakey column, if so then your select stmt would be this;
Select DataKey Count(*) AS DataKey
FROM TableName
MCSE SQL Server 2012\2014\2016