create table Friends ( First_Name varchar (50), Last_Name varchar (50), Address varchar (50), ContactNo bigint, EMailID varchar (20), RegistrationDate datetime )
create table test (id int) insert top (3) into test (ID) values(1),(2),(3),(4),(5) select * from test
declare @rowCount as int select @rowCount= COUNT(*) from Friends print @rowCount --to see the number of records. if @rowCount<5 insert query
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)