"Before Starting with Database testing, You should be aware of SQL, atleast you should know how to write Transact-SQL query.
Next you Basic Concept of Database and Datawarehouse should be clear Like RDBMS, SP, Functions, Views, Jobs, OLTP, ETL,…"
"check your Run Setting... Debug it line by line... check the value of "i" what it shows at the end.. check whether your last line of the code is getting executed or not... is your Browser getting closed or not...."
"remove "Step 1" from the condition use only "For i=1 to 133" ...
"Next" in the For Loop work as a increment...
And if the issue occurs again then check whether the "if" condition is satisfied or not...."
I have an experience in Automation, Database and Manual Testing. I am very well versed with the QA Concept and it Methodologies. I have an Good Communications skills, interpersonal skills, self-motivated, quick learner and excellent team player.