insert and fetch from sql server