So I just ran the query on all 50 columns, and it actually took under 5 mins. (Not sure why it took 8 mins on 2 columns...)
You guys are great!
Thanks again.
Hi everyone,
Thanks everyone for responding so quickly, and for helping out a newbie. I think I've got it sorted now.
I created a new table and formatted the threshold columns as bits, and then combined all the update queries into one.
I tested it out on 2 thresholds, and it took 8 mins to...
Hi all,
I'm quite new to SQL, so please bear with me.
I've managed to write some code which does what I want it to do, but it is taking a really long time to process. I don't fully understand the process SQL goes through to execute a query, so I was hoping that someone could help me...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.