• 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