Skip to content

While loop function union function end

I want to loop the code shown below. I would like to use the [getpublicholidays] function for a variable number of years and merge them (union). Unfortunately I don’t know how to use the function in a loop with union. Can someone help? Answer If you are looping for X years, each time you loop to a new y…

How to do update/migration of data, with help of generic query

I am in middle of trying to get better with sql, but I have some issue/question with one of my exercies. So I thought about this kind of following situation. I have three tables: STUDENT COURSE STUDENT_COURSE But after some time I have requirments to divide courses into more specific names. So in COURSE table…