Adding interrogation for MS-SQL
Working on cursor iteration