sql help

I am trying to update the table, but it seems like I need to have a recursive call. So at first I need to find all the booked classes , then for each class I need to find all classes with 59 minutes from start till end of the class , and so on and update the location

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I'm not a ColdFusion guy but since this question didn't have any answer until now I have a question for you:
- There's a chance to write a stored procedure to perform what you want? Then in your code you'll only need to call the SP and pass the correct parameters.

Sure.
Which SQL statements you already have and running and what's missing to achieve what you want?
Then we'll put them together in a stored procedure that will execute the code following a logical order.

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Yes, you can.
I just wanted you to put the question in a SQL way instead of code so I can understand it better.
Or post the tables structure and some data sample for what you have now and the expected results.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.