I have a stored procedure where I "clone" a study using another study, each study has a set of question and each question has a set of options, the problem is when