added a method to get insert table script
renamed method to getInsertRowScript