declare @STOREID bigint; set @STOREID = ( select default_value from System_Default where Default_Name = 'MAin_store_id'); update [system_user] set locked = 1 where system_user_id =10218 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10216 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10191 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =269 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =272 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479135 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60201 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60225 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459129 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479074 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479079 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30190 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30195 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20222 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10164 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10177 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469076 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479087 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459165 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459191 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70208 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70218 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70209 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70223 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10266 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10283 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10207 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539154 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559158 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499136 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499142 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20249 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20265 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459166 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459168 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459133 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459137 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459109 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70207 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90218 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10189 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539062 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549061 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539061 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549063 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90298 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100304 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70190 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70193 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469050 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489101 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499056 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559101 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559093 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459140 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459142 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130280 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569219 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469119 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10178 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479045 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479111 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70210 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70211 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =300 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10164 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469091 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469090 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499146 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90343 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90344 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60334 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80340 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489011 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489103 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =478998 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569074 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569076 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459126 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10189 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10195 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20210 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20218 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20227 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20229 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =287 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =308 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499128 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499132 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559161 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499094 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499105 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509131 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10198 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20198 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80221 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70205 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70211 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70214 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60259 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569203 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569213 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569214 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90340 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90349 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90356 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459154 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10172 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10173 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469033 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469037 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459196 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =273 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =275 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =277 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =282 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =283 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10155 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10251 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10255 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10263 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130270 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569195 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569197 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569209 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60282 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10266 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10270 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10271 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529046 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459129 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10255 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10261 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10268 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20269 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469102 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469103 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469106 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479130 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499142 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479098 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499127 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499134 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509124 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529123 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529132 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539143 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459108 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529189 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539190 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549195 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559195 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459094 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469126 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469146 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489106 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20194 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30194 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40194 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40195 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40196 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40197 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40198 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50198 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50199 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50200 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60200 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70200 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70202 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80204 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80205 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80206 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80207 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80208 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80209 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80210 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80211 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80212 and @STOREID=294 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20194 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30194 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40194 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40195 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40196 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40197 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40198 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50198 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50199 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50200 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60200 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70200 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70204 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70207 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70208 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70209 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70212 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70215 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70217 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70218 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70219 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70222 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70223 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70224 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70225 and @STOREID=291 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20194 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30194 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40194 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40195 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40196 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40197 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40198 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50198 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50199 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50200 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60200 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70200 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70201 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70202 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70203 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70204 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70205 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70209 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80216 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80217 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90216 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90217 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90222 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90223 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90225 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90226 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90228 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90229 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90230 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90231 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90233 and @STOREID=292 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20194 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30194 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40194 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40195 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40196 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40197 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40198 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50198 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50199 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50200 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60200 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60202 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60203 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60204 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60205 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60207 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60214 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60215 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60216 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60217 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60218 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60219 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60220 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60221 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60223 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60224 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60226 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60227 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60228 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60229 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60231 and @STOREID=290 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10186 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10187 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10195 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10196 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10197 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10198 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10199 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20199 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20200 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20201 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20202 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20203 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30203 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30205 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30206 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30207 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30209 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30210 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30211 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30212 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30213 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30214 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30215 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30216 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30217 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30218 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30219 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30220 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30221 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30222 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30223 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30224 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30225 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30226 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30227 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30228 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30229 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30230 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30231 and @STOREID=287 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20194 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30194 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40194 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40195 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40196 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40197 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40198 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50198 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50199 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50200 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60200 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70200 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70201 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70202 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70203 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70204 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70205 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70206 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70207 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70209 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70212 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70214 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70215 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70216 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70218 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70219 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70220 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70222 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70223 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70224 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70225 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70226 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70227 and @STOREID=295 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10208 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10209 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10210 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10211 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10212 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10213 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10214 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10217 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10219 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20230 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20231 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20232 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20233 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20234 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20235 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20236 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20237 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20238 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20239 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20240 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20241 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20242 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20243 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20244 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20245 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20246 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20247 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20248 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20249 and @STOREID=281 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=261 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=270 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10218 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10219 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10220 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20221 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20223 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20224 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20225 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20226 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20227 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20228 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20229 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20230 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30230 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30232 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40233 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40234 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40235 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40236 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40237 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40238 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40239 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40241 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40242 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40243 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40244 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40245 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40246 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40247 and @STOREID=282 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10210 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10211 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10212 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10213 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10214 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10215 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10218 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10219 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10220 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10237 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10238 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10239 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10240 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10241 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10242 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10243 and @STOREID=247 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=285 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10218 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10219 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10220 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10237 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10239 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10240 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10243 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10244 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10245 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10246 and @STOREID=272 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10191 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10195 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10196 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10198 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10199 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10200 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10201 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10202 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10203 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10204 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10206 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10207 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10208 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10209 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10210 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10211 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10212 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10213 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10214 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10215 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10216 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10217 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10218 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10220 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10237 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10239 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10241 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10242 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10243 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10244 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10245 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10246 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10247 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10248 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10250 and @STOREID=283 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=279 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =256 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=273 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459094 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459095 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459098 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459099 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459100 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459101 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459103 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459105 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459106 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459107 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459108 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459109 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459110 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459111 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459112 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459113 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459114 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459115 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469115 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469116 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469117 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469118 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469119 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469120 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469121 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469122 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469123 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469124 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469125 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469126 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469127 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469128 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469129 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469130 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469131 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469132 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469133 and @STOREID=42 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20194 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30194 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40194 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40195 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40196 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40201 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40205 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40206 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40208 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50209 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50210 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50211 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50213 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50214 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50215 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50216 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50217 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50219 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50220 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50222 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50223 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50224 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50225 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50226 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50227 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50228 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50229 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50230 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50232 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50233 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50234 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50235 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50236 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50237 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50239 and @STOREID=288 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=269 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10152 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10153 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10154 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10155 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10156 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10157 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10158 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10159 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10160 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10161 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10162 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10163 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10165 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10167 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10168 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10169 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10171 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10172 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10173 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10174 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10175 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10176 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10179 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10180 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10181 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10183 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10184 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10185 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10187 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10188 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10189 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10190 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10191 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10195 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10196 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10197 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10198 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10199 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10200 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10201 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10202 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10204 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10206 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10207 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10208 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10209 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10210 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10211 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10213 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10214 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10215 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10217 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10218 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10219 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10220 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10237 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10239 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10241 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10243 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10244 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10245 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10247 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10248 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10253 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10254 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10257 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10258 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10259 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10260 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20259 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20260 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20262 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20263 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20266 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20267 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20270 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20271 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20272 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20273 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20274 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20276 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20277 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20279 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20280 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20281 and @STOREID=274 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=286 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10198 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10199 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20199 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20200 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20201 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20202 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20203 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20204 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20205 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20206 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20207 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20208 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20209 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20211 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20212 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20213 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20214 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20215 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20216 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30217 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30218 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30219 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30220 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30221 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30222 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30223 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30226 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30227 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30229 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30230 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30231 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30232 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30235 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40235 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40236 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40237 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40238 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40239 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40240 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40241 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40242 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40243 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40244 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40245 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40246 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40247 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40248 and @STOREID=280 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468987 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468988 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468989 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468990 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468991 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468992 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468993 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468994 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468995 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468996 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468997 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =478997 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =478999 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479000 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479001 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479002 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479003 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479004 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479005 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479006 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479007 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479008 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479009 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479010 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479011 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489010 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489012 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489013 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489014 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489015 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489020 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489021 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489023 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489024 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489025 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489026 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489027 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489028 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489029 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499028 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499029 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499030 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499031 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509031 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509032 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509033 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509034 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509035 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509036 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509037 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509038 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519038 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519039 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519040 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519041 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519042 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529042 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529043 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529044 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529045 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529047 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529048 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529049 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549049 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549050 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549052 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549053 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549054 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549055 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559055 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559056 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559057 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559058 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569058 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569059 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569060 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569061 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569062 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569063 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569064 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569065 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569066 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569067 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569068 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569069 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569070 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569071 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569073 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569077 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569078 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569079 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569080 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569081 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569082 and @STOREID=163 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10180 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10181 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10182 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10183 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10184 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10185 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10186 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10187 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10188 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10189 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10190 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10191 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10196 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10198 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10199 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10200 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10201 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10202 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10203 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10204 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10205 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10206 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10207 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10208 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10209 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10210 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10211 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10212 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10213 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10214 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10215 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10216 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10217 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10218 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10220 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10238 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10239 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10240 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10241 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10242 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10243 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10244 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10245 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10246 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10247 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10250 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10251 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10252 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10253 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10254 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10255 and @STOREID=267 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10153 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10154 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10155 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10156 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10157 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10158 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10159 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10160 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10161 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10162 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10163 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10164 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10165 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10166 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10167 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10168 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10169 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10170 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10171 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10172 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10173 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10174 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10175 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10176 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10177 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10178 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10179 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10180 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10181 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10182 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10183 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10184 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10185 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10186 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10187 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10188 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10190 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10191 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10195 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10196 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10198 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10199 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10201 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10202 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10203 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10204 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10205 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10206 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10207 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10208 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10209 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10210 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10211 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10212 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10213 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10214 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10215 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10216 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10217 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10219 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10220 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10237 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10238 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20238 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20239 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20240 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20241 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30241 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40241 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40242 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40243 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40244 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40245 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40246 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40248 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40249 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40250 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40251 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40252 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40253 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40254 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50255 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50256 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50257 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50258 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50259 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50260 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50261 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50262 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50264 and @STOREID=249 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =256 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =260 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =261 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =262 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =263 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =264 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =265 and @STOREID=264 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10218 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10219 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10220 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10237 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10238 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10239 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10240 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10241 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10242 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10243 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10244 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10245 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10246 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10247 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10249 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10250 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10251 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10252 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10253 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10254 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10255 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10257 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10258 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10259 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10260 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10261 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10262 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10263 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10265 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10266 and @STOREID=255 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10195 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10196 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10197 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30198 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30200 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30201 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30202 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30203 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40203 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40204 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40205 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40206 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40207 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40208 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40209 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40210 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40211 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40212 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40213 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40214 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50214 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50215 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50216 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50217 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60217 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60218 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60219 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70219 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80219 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80220 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80222 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90222 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100222 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120222 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130222 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130223 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140223 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150223 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150224 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150226 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150227 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150228 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160228 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170228 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180228 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180229 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180230 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180231 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180232 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180235 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180236 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180238 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180239 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180240 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180241 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180242 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180243 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180244 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180245 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180246 and @STOREID=258 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10141 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10142 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10143 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10144 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10145 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10146 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10147 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10148 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10149 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10150 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10151 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10152 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10153 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10154 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10156 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10157 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10158 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10159 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10160 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10161 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10162 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10166 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10168 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10169 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10170 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10171 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10173 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10174 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10175 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10176 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10178 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10179 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10180 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10181 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10183 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10184 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10185 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10186 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10187 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10189 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10190 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10191 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10195 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10196 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10197 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10198 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10199 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10200 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10201 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10202 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10203 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10204 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10205 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10206 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10207 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10208 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10209 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10210 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10211 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10212 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10213 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10214 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10215 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10216 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10219 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20232 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20233 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20234 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20235 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20236 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20237 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20238 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20239 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20241 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20242 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20243 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30245 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40245 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40246 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40247 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40248 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40249 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40250 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40251 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40252 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40253 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40254 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40255 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40256 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40257 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40258 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40259 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40260 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40264 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40265 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40266 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40267 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40268 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40269 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40271 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40272 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40273 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40276 and @STOREID=257 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10244 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10245 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10246 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10247 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20247 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20248 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20250 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20251 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20253 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20254 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20255 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20256 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20257 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20258 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20259 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20260 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20261 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20262 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20263 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20264 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20266 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20267 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20269 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20270 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20271 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20272 and @STOREID=233 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20228 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20229 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20230 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20231 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20232 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20233 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20234 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20235 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20236 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20237 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30239 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30240 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30241 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30242 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40242 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40243 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40244 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40245 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40247 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40248 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40249 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40250 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40251 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40253 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50252 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50253 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50254 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50255 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50256 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50257 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50258 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50260 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50261 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50262 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50263 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50264 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50265 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50266 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50267 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50268 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50269 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50270 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50271 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60273 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60274 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60275 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60276 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60277 and @STOREID=244 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10218 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10219 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20236 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20237 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20238 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20239 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20240 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20241 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30240 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40240 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40241 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40242 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40243 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40244 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40245 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40246 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40247 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40248 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40249 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40250 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40251 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40252 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40253 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40255 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40256 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40257 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40259 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40260 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40261 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40262 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40263 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40265 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40266 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40270 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40271 and @STOREID=260 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10178 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10179 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10180 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10181 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10182 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10183 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10184 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10185 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10186 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10187 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10188 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10196 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10197 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10198 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10199 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10200 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10201 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10202 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10203 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10204 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10205 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10206 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10207 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10208 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10209 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10210 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10211 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10212 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10213 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10214 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10215 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10216 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10217 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10218 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10219 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10220 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10237 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10238 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10240 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10241 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10243 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10246 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10248 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10249 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10251 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10252 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10253 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10254 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10255 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10257 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10258 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10259 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10260 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10261 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10262 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10263 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10264 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10265 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10266 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10267 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10268 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10269 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10270 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10272 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10273 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10274 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10275 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10276 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10277 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10278 and @STOREID=194 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469093 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469094 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469095 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469096 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469097 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469098 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469099 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469100 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469101 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469102 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469103 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469104 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469105 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469106 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469107 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469108 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469109 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469110 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469111 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469112 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469113 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469114 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469116 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469117 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469119 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469120 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469121 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469122 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469123 and @STOREID=98 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10174 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10175 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10176 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10178 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10179 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10180 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10181 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10182 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10183 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10184 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10185 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10186 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10187 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10188 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10189 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10190 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10191 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10195 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10196 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10197 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10198 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10199 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20200 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20201 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20202 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20203 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20204 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20205 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20206 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20208 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20209 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20211 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20212 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20213 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20214 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20215 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20216 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20217 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20219 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20220 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20221 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20222 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20223 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20224 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20225 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20226 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20228 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20230 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20231 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20232 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20233 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20234 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20235 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20236 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20237 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20238 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20239 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20240 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20241 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20242 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20243 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20244 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20245 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20246 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20247 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20248 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20249 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20250 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20251 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20252 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20253 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20254 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30256 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30257 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30258 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30259 and @STOREID=266 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =256 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =260 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =261 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =262 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =263 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =264 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =265 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =266 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =267 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =268 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =269 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =272 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =273 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =274 and @STOREID=254 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10248 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10249 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10250 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10251 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10252 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10253 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10254 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10255 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10256 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10257 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10258 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10259 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10260 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10262 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10264 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10265 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10267 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10268 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10269 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10272 and @STOREID=238 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=284 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =260 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =261 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =262 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =263 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =264 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =265 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =266 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =267 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =269 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =270 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =271 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =272 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =273 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =274 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =276 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =277 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =278 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =281 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =282 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =283 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =284 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =285 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =286 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =287 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =288 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =289 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =290 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =291 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =292 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =293 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =294 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =295 and @STOREID=237 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =256 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =260 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =261 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =262 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =265 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =266 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =267 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =268 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =269 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =270 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =271 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =272 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =274 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =275 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =276 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =277 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =278 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =279 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =281 and @STOREID=223 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10196 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10197 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10198 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10199 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10200 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10201 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10202 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10203 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10204 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10207 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10208 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10209 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10210 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10211 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10212 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10213 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10214 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10215 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10216 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10217 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10218 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10219 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10220 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10237 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10238 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10239 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10240 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10241 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10242 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10243 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10244 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10245 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10246 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10247 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10249 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10251 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20251 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20252 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20254 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20255 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20256 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20257 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20259 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20260 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20261 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20262 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20263 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20264 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20265 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30264 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30265 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30266 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30267 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30268 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30269 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30270 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30271 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30272 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30273 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30274 and @STOREID=250 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =256 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =260 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =261 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =262 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =263 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =264 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =265 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =266 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =267 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =268 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =269 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =271 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =272 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =273 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =274 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =275 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =276 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =277 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =278 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =279 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =280 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =281 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =282 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =283 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =284 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =285 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =286 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =287 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =288 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =290 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =292 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =293 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =294 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =295 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =296 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =297 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =298 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =299 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =300 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =302 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =303 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =304 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =305 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =307 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =310 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =311 and @STOREID=198 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459094 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459095 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459098 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459101 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459103 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459105 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459106 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459107 and @STOREID=137 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =256 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =261 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =262 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =263 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10263 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10264 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10265 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20265 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20266 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20267 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20268 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20269 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20270 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20271 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20272 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20273 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20276 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20277 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20279 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20280 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20281 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20282 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20283 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20284 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20285 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20286 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20287 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20288 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20289 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20290 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20291 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20292 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20293 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20294 and @STOREID=224 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =260 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =261 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =262 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =263 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =264 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =265 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =266 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =267 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =268 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =269 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =270 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =271 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =273 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =274 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =275 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =276 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =277 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =278 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =279 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =280 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =281 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =282 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =283 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =284 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =285 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =286 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =287 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =288 and @STOREID=212 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10210 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10211 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10212 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10213 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10214 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10215 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10216 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10217 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10218 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10219 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10237 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10238 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20239 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20240 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20241 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20242 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20243 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20244 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20245 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20246 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20247 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20248 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20249 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20250 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20251 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20252 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20253 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30253 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30254 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40254 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40255 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40256 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60256 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60257 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60258 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60260 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70260 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70261 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70262 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70264 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70265 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80263 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80264 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90264 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100264 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100265 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100266 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110266 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120266 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120267 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120268 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130268 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130271 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130272 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130273 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130274 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130275 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130278 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130281 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130282 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130283 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140284 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140285 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140286 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140287 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140288 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150289 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150290 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150292 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160294 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160295 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160296 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160298 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160299 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160301 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160304 and @STOREID=218 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=268 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10128 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10129 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10130 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10131 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10132 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10133 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10134 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10135 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10137 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10138 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10139 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10140 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10141 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20142 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20143 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20144 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20145 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20146 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20147 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20148 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20149 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20150 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20151 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20152 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20153 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20154 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20155 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20156 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20157 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20158 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20159 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20160 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20162 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20163 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20164 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20165 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20166 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20167 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20168 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20169 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20170 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20171 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20172 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20173 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20174 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20175 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20176 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20177 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20178 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20179 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20180 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20181 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20185 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20186 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20187 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20188 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20189 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20190 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20191 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20192 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20193 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20194 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20195 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20196 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20197 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20198 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20199 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20200 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20201 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20202 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20203 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20204 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20205 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20206 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20207 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20208 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20209 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20210 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20211 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20212 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20213 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20214 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20215 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20216 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30217 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30218 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40219 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40220 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40221 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40222 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40224 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40225 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40227 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40228 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40229 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40230 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40232 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40233 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40235 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40236 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40237 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40238 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40239 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40240 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40241 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40242 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40245 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40246 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40247 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40248 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40249 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40250 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40251 and @STOREID=259 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459094 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459095 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459098 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459099 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459100 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459101 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459103 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469103 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469105 and @STOREID=53 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10139 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10140 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10141 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20140 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20141 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20142 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20143 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30143 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30144 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40144 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40145 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40146 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40147 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40148 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40149 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40150 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40151 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40152 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50152 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50153 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50154 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50155 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50156 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50157 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50158 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50159 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50160 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50161 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50162 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50163 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50164 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50165 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50166 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50167 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50168 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50169 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50170 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50171 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50172 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50173 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60173 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60174 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60175 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60177 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60178 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60179 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60180 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60181 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60182 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60183 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70183 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70184 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70185 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70186 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70187 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70188 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70194 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70195 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70196 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70197 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70198 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70199 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70200 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70201 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70202 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70203 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70204 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70205 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70206 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70207 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70208 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70209 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70210 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70211 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70212 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70213 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70214 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70215 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70220 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70221 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70222 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70223 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70224 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70226 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70227 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70228 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70229 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70230 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70231 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70232 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70233 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70234 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70235 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70236 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70237 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70238 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70239 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70240 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70241 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70242 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70243 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70244 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70245 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70246 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70247 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70248 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70249 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70250 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70251 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70252 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70253 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70254 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70255 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70256 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70257 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70258 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70259 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70260 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70261 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70263 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70264 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70265 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70266 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70267 and @STOREID=213 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468992 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468993 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468994 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468995 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468996 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468997 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468998 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468999 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469000 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469001 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469002 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469003 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469004 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469005 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469006 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469007 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469008 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469009 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469010 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469011 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469012 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469013 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469014 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469015 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469016 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469017 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469018 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469019 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469020 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469021 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469022 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469023 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469024 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469025 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469026 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469027 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469028 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469029 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469030 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469031 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469032 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469034 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469035 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469036 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469037 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469038 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469039 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469040 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469041 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469042 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469043 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469044 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469045 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469046 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469047 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469048 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469049 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469050 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469051 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469052 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469053 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469054 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479054 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479055 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479056 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479057 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479058 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479059 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479060 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479062 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479063 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479064 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479065 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479066 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479067 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479068 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489068 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489069 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489070 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489071 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489072 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489073 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489074 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489076 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489078 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489079 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489080 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489081 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489082 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489083 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489084 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489085 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489086 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489087 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489088 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489089 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489090 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489091 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489092 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489093 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489094 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489095 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489096 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489097 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489099 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489100 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489102 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489103 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489104 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489105 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489106 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489107 and @STOREID=103 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10237 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10238 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10239 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10240 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10241 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10242 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10243 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10244 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10245 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10246 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10247 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10250 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10251 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20251 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20252 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20253 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20254 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20255 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20256 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20257 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20258 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20259 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20260 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20261 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20262 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20263 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20264 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20265 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20266 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20267 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20268 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20269 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20270 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20271 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20272 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20273 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20274 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30274 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30275 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30276 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30277 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30278 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30279 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30280 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40281 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40282 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40283 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40284 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40285 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40287 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40288 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40289 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40290 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40291 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40292 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40293 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40295 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40296 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40297 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40302 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40303 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40304 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40305 and @STOREID=91 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468997 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468998 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468999 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =478999 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479000 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479001 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479002 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479004 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479005 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479006 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479007 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479008 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479010 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479011 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479012 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479013 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479014 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479015 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479016 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479017 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479018 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479019 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479020 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479021 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479022 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479023 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479024 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479026 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479027 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479028 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479029 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479030 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479031 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479032 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479033 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479034 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479035 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479036 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479037 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479038 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479039 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479040 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479041 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479042 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479043 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479044 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479045 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479046 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479047 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479048 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479049 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479050 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479051 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479052 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479053 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479054 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479055 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479056 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479057 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479058 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479059 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479060 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479062 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479063 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479065 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479066 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479067 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479068 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479069 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479070 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479071 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479072 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479073 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479075 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479076 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479077 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479078 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479080 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479081 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479083 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479084 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479085 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479086 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479087 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479088 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479090 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479091 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479092 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479093 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479094 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479095 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489095 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489097 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489098 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489099 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489100 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489101 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489102 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489103 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489104 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489105 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489106 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489107 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489108 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489109 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489110 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489111 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489112 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489113 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489114 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489115 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489116 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489117 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489118 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489119 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489120 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489121 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489122 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489123 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489124 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489125 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489126 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489127 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489128 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489129 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489130 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489132 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489133 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489134 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489135 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489136 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489137 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489138 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489139 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489140 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489141 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489142 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489144 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489145 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489146 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489147 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489148 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489149 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489150 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489152 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489153 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489154 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489156 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489157 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489158 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489159 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489160 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499160 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509162 and @STOREID=159 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10158 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10159 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10160 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10161 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10162 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10163 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10164 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20164 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20165 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20166 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20167 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20168 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30166 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30167 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30168 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30169 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30170 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30171 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30172 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30173 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30174 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30175 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30176 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30177 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30178 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30179 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30180 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30181 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30182 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30183 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30184 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30185 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30186 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30187 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30189 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30191 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30192 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30193 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30194 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30196 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30197 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30198 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30199 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30200 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30201 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30202 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30203 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30204 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30205 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30206 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30207 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30208 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30209 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30210 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30211 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30212 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30213 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30214 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30215 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30216 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30217 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30218 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30219 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30220 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30221 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30222 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30223 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30224 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30225 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30226 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30227 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30228 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30229 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30230 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30231 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30232 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30233 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30234 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30236 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30237 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30238 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40241 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40242 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40243 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50244 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50245 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50246 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50247 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50248 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50249 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60249 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60250 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60251 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60252 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60253 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60254 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60255 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60257 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60258 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60259 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60260 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60261 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60262 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60266 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60267 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60268 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60269 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60270 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60271 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60272 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60273 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60276 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60277 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60278 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60279 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60280 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60281 and @STOREID=248 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469087 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469089 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469090 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469091 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469092 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469093 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469094 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469095 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469096 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469097 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469098 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469099 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469100 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469101 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469102 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469103 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479103 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479104 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479105 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479106 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479107 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479108 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479109 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479110 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479111 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479113 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479114 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479115 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479116 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479117 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479118 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479119 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479121 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479122 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479123 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479124 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479125 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479126 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489126 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489127 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489128 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499128 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509128 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509129 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509130 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509131 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509132 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519132 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519133 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519134 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519135 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519136 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519137 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519138 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519139 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519140 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519141 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519142 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519144 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519145 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519146 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519147 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519148 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519151 and @STOREID=217 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =261 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =263 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =264 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =265 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =266 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =267 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =268 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =270 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =271 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =273 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =274 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =275 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =276 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =277 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =278 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =279 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =284 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =285 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =288 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =289 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =290 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =291 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =292 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =293 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =294 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =295 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =296 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =297 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =298 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =299 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =300 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =301 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =302 and @STOREID=232 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10186 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10187 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10189 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10190 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10191 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10195 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10197 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10198 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10199 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10200 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10201 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10202 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10203 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10204 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10205 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10206 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10207 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10208 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10209 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10210 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10211 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10212 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10214 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10215 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10216 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10217 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10218 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10219 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10220 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10237 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10238 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10239 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10240 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10241 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10242 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10243 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10244 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10245 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10246 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10247 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10248 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10249 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10250 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10251 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10252 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10253 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10254 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10256 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10257 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20257 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20258 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20259 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20260 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20261 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20262 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20263 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20265 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30265 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30266 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30267 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30268 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30269 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30270 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30271 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30272 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30273 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30274 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30275 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30276 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30277 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30278 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30279 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30280 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30281 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30282 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30283 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30284 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30285 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30286 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30287 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30288 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30289 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30290 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30291 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30292 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30293 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30294 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30296 and @STOREID=226 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =256 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =260 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =261 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =262 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =263 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =264 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =265 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =266 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =267 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =268 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =270 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =271 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =273 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =274 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =275 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =276 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =278 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =279 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =280 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =281 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =282 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =283 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =284 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =285 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =286 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =287 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =288 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =289 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =290 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =291 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =292 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =294 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =295 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =296 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =297 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =298 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =299 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =302 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =303 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =304 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =305 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =306 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =307 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =308 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =309 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =310 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =311 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =312 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =313 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =314 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =315 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =316 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =317 and @STOREID=207 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469088 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469089 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469090 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469091 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469092 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469093 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469094 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469095 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469097 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469098 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469099 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469100 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469101 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469103 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469105 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469106 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469107 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469108 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469109 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469110 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469111 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469112 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469114 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469115 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469116 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469117 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469118 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469119 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469120 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469121 and @STOREID=201 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469082 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469083 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469084 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469085 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469089 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469090 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469092 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469093 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469094 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469095 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489095 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489097 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489098 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489099 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489100 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489101 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489102 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489103 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489104 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489105 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489106 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489107 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489108 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489109 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489111 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489113 and @STOREID=141 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =256 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =260 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =261 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =262 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =263 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =264 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =267 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =268 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =269 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =270 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =271 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =272 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =274 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =276 and @STOREID=206 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459094 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459095 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459100 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459103 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459105 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459106 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459107 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459109 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469109 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469110 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469111 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469112 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469113 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469114 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469115 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469117 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469118 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469120 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479120 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479121 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479122 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479123 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479124 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479125 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479126 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479127 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479128 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479129 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479130 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479131 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479132 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479136 and @STOREID=55 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =256 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =260 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =262 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =263 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =264 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =265 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =266 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =267 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =268 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =269 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =270 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =271 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =272 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =274 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =276 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =278 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =279 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =280 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =281 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =284 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =285 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =286 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =287 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10287 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10288 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10289 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10290 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10291 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30291 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30292 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30295 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40295 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40296 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40297 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40299 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40301 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40302 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40303 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40304 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40305 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40306 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40307 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40308 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50308 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50309 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50310 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50311 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50312 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50313 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50314 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50315 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50316 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50317 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50318 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50319 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50320 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50321 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50322 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50323 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50325 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50326 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60327 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60328 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60329 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60330 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60331 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60332 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60333 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60335 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60336 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70336 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70337 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70338 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70339 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70340 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90341 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90342 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90345 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90346 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90347 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90348 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90350 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90351 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90352 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90355 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90360 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90361 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90363 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90364 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90365 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90366 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90369 and @STOREID=210 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10154 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10155 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10156 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10157 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10158 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10159 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10160 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10161 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10162 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10163 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10164 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10165 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10166 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10167 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10169 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10170 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10171 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10172 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10174 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10175 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10176 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10179 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10180 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10181 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10182 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10183 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10186 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10187 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10188 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10189 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10190 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10191 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10195 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10196 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10197 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10198 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10199 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10200 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10201 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10202 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10203 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10204 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10205 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10206 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10207 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10208 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10209 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10211 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10212 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10213 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10214 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10215 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10216 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10217 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10218 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10219 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10220 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10238 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10239 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10240 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20240 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20241 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20242 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20243 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20244 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20245 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20246 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20247 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20248 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20249 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20250 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20251 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20252 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20253 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20254 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20255 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20256 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20257 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20258 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20259 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20260 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20262 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20265 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20266 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20267 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20268 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20269 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20271 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20273 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20274 and @STOREID=256 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10255 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10256 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10257 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10258 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10259 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10260 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10261 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10262 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10263 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10264 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10265 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10269 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10270 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10271 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10272 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10273 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10274 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10275 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10276 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10277 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10278 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10280 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10281 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10282 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10283 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10284 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10287 and @STOREID=236 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10252 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10253 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10254 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10258 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10262 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10265 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10267 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10269 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30269 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30270 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30271 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30272 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30273 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30274 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30275 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30276 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30277 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30278 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40277 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40278 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40279 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40280 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40281 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40282 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40283 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40284 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40285 and @STOREID=235 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469037 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469038 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469039 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469040 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469041 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469042 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469043 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469044 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469045 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469046 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469047 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469048 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469049 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469050 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469051 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469052 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479052 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479053 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479054 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479055 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479056 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479057 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479058 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479059 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479060 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479061 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479062 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479063 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479064 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479065 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479066 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479067 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479068 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479069 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479070 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479071 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489071 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489072 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489073 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489074 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489075 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489076 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489077 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489078 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489079 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489080 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489083 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489084 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489085 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489086 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489087 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499087 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499088 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499089 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499090 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499091 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499092 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509093 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509094 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509095 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509096 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509097 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509098 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509100 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509101 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509102 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509103 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509104 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509105 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509106 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509107 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509108 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509109 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509110 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509111 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509112 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509113 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509114 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509115 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509117 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509118 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509119 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509122 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509123 and @STOREID=114 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469019 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469020 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469021 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469022 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469023 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469024 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469025 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469026 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469027 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469028 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469029 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479029 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479030 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479031 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479032 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479033 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479034 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479035 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479037 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479039 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479040 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479041 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479042 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489042 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499042 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509042 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509043 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509044 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509045 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509046 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519046 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519047 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519048 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529048 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529049 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529050 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529051 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529052 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539052 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539053 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539055 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539056 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539057 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539058 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539059 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539060 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549062 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549066 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549069 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549070 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549071 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549072 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549073 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549074 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549075 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549077 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549078 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549079 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559079 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559080 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559081 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559082 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559083 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559084 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569087 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569088 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569090 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569091 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569092 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569093 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569094 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569095 and @STOREID=166 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =468999 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469000 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469001 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469002 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469003 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469004 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469006 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479007 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479008 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479009 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489009 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489010 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489012 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489013 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489014 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489015 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489016 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489018 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489019 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489020 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489021 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489022 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489023 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489024 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489025 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489026 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489027 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489028 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489029 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489030 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489031 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489032 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489035 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489036 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489037 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489038 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489039 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489040 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489042 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489043 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489044 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489045 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489046 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489047 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489048 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489049 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489050 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489051 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489052 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489053 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489054 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489055 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489056 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489057 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489058 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489059 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489061 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489062 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489063 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489065 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489066 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489067 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489068 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489069 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489070 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489071 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489072 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489073 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489074 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489075 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489076 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489077 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489079 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489080 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489081 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489082 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489083 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489084 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489085 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489086 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489087 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489088 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489089 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489090 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489091 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489092 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489093 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489094 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489096 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489097 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489098 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489099 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489100 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489101 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489102 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489106 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489107 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489108 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489109 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489110 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489111 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489112 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489113 and @STOREID=154 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469003 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469004 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469005 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469006 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469007 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469008 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469009 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469010 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469011 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469012 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469013 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469014 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469015 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469016 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469017 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469018 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469019 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469020 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469021 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469022 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469023 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469024 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469025 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469026 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469027 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469028 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469030 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469031 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469032 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469033 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469034 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469035 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469036 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469037 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469038 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469039 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469040 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469041 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469042 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469043 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469044 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469045 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469046 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469047 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469048 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469049 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469052 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469053 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469054 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469055 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469056 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469057 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469058 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469059 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469060 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469061 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469063 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469064 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469065 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469066 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469067 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469068 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469069 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469070 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469071 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469072 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469073 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469074 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469075 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469077 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479077 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479078 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479079 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479080 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479081 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479082 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479083 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479084 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479085 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479086 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479087 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479088 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479089 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479090 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489092 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489093 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489094 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489095 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489096 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489097 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489098 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489099 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489100 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489102 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489103 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489104 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489105 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489106 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489107 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489108 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499108 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509108 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519108 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519109 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519110 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519111 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519112 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519113 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519116 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519117 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519118 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519119 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519120 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519121 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519122 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519123 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519124 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519125 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519126 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519128 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519129 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519130 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519131 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519132 and @STOREID=81 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =256 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =260 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =261 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =262 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =263 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =264 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =265 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =266 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =267 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =268 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =269 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =270 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =271 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =272 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =273 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =274 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =275 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =276 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =277 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =278 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =279 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =280 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =281 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =282 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =283 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =285 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =286 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =288 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =289 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =290 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =291 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =292 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =293 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =294 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =295 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =296 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =297 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =298 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =299 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =300 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =302 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =303 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =304 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =305 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =306 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =307 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =309 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =310 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =312 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10312 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10313 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10315 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10316 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10317 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10318 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10319 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10321 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10324 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10325 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10326 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10327 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10328 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10329 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10330 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10331 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10332 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10333 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10334 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10336 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10337 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10341 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10342 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10346 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10347 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10348 and @STOREID=229 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469019 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469020 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469021 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469022 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469023 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469024 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469025 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469026 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469027 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469028 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469029 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479029 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479030 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479031 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479032 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479033 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479034 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479035 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479036 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479037 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479038 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479039 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479040 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479041 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479042 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479043 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479044 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479045 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479046 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489046 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489047 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489048 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489049 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489050 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489051 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489052 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489053 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489054 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489055 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499055 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499057 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499058 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499059 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499061 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499062 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499063 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499064 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509064 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509065 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509066 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509067 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509068 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509069 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509070 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509071 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509072 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509073 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509074 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509075 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519075 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529075 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529076 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529077 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539077 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539078 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539079 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539080 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539081 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539082 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539083 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539084 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539085 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539087 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549086 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559086 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559087 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559088 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559089 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559090 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559091 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559092 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559094 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559095 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559096 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559097 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559098 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559099 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559102 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559103 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559104 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559105 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559106 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559108 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559109 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559110 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559111 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559112 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559113 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559114 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559115 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559117 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559118 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559119 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559120 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559121 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559122 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559123 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559124 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559125 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559126 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559127 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559128 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559129 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559135 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559138 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559139 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559140 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559143 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559144 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559145 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559146 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559147 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559148 and @STOREID=161 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459094 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459095 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459098 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459099 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459100 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459101 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459103 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459105 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459106 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459107 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459108 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459109 and @STOREID=157 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469059 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469060 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469061 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469062 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469063 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469064 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469065 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469066 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469067 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469069 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469070 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469071 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469072 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469073 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469074 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469075 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469076 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469077 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469078 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469079 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469080 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469081 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469083 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469084 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469085 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469086 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469087 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469088 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469089 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469090 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469091 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469092 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469093 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469094 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469095 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469096 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469097 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469098 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469099 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469101 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469102 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469103 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469104 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469105 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469106 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469107 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469108 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469109 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469111 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469112 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469113 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469114 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469115 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469116 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469117 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469118 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469119 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469120 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469121 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469123 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469124 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469125 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469127 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469128 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469129 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469132 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469133 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469134 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469135 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469136 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469137 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469138 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469139 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469140 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469141 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469142 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469143 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469144 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469147 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469148 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469149 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469150 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469151 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469153 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469154 and @STOREID=34 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469088 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469089 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469090 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469091 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469093 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469094 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469095 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469096 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469097 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469098 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469099 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469100 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469101 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469102 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469103 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469104 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469105 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469106 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469107 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469108 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469109 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469110 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469111 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469112 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469113 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469114 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469115 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469116 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469117 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469118 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469119 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469120 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469121 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469122 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469123 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469124 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469125 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469126 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469127 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469128 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469129 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469130 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469131 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469132 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469133 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469134 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469135 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469136 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469137 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469138 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469139 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469140 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469141 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469142 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479142 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479143 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479144 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479145 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479146 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479147 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479148 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479149 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479150 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479151 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479152 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489152 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489153 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489154 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489155 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489158 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499158 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499159 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499160 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499161 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499162 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499163 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499164 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499165 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509166 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509167 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509168 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509169 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509170 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509171 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509172 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509173 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519173 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529173 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529174 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529175 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529176 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529177 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539177 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539178 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539179 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539180 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539181 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539182 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539183 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549183 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559183 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559185 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569185 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569186 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569187 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569188 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569189 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569190 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569191 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569192 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569193 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569194 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569196 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569198 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569199 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569200 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569201 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569202 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569204 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569205 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569206 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569207 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569208 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569210 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569211 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569212 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569216 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569217 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569218 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569220 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569221 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569222 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569223 and @STOREID=45 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20247 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20248 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20250 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20251 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20252 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20253 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20256 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20257 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20258 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20259 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20260 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20261 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20262 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30262 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30263 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40262 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40263 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40264 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40265 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40266 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40268 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40270 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40271 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40272 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40273 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40274 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40275 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50275 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50276 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50277 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50278 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50279 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50280 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50281 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50282 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50283 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50284 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50285 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50286 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50287 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50288 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50289 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50290 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50291 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50292 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60292 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70293 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80293 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80294 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80295 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80296 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80297 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90297 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90299 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100299 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100300 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100301 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100303 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100305 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100306 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100307 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100308 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100309 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100310 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100311 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100313 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100314 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100315 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100316 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100319 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100320 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100321 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100322 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100323 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100324 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100326 and @STOREID=108 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469045 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469046 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469047 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469048 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469049 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469050 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469051 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479051 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479052 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479053 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479054 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479055 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479056 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479057 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479058 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479059 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479060 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479061 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479062 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489062 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489063 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489064 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489066 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489067 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489068 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489069 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489070 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489071 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489072 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489073 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489074 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489075 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489076 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489077 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489078 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489079 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489080 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489081 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489082 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489085 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489086 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489087 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489088 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489089 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489090 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489091 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489092 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489093 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489094 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489095 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489096 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489097 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489098 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489099 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489101 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489102 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489103 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489104 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489105 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499106 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499107 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509107 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509108 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509109 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509110 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509111 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509113 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509114 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519113 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519114 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519116 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519117 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519118 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519119 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519120 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519121 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519122 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519123 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519124 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519127 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519129 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519130 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519133 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519134 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519135 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519136 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519137 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519138 and @STOREID=79 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469051 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469052 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469053 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469054 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469055 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469056 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469057 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469058 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469059 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469060 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469061 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469062 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469063 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469064 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469065 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469066 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469067 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469068 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469069 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469070 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469071 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469072 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469073 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469074 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469075 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469076 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469078 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469079 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469080 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469081 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469082 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469083 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469084 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469086 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469087 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469088 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469089 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469090 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469092 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469093 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469094 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469095 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469096 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469097 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469098 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469102 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469103 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469104 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469105 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469106 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469107 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469108 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469109 and @STOREID=49 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =256 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =260 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10260 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10261 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10262 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20261 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20262 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20263 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20264 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30265 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30266 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30267 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30268 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30269 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30270 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30271 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40271 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40272 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40273 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40274 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40275 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50275 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50276 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50277 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50278 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50279 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50280 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50281 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50282 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70282 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70283 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70285 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70286 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70287 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70288 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70290 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80290 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90290 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90291 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100291 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100292 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110292 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110293 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110296 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110297 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110298 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120298 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120299 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120300 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120301 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120302 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120303 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120304 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120307 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120308 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120309 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130310 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130311 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130312 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130313 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130314 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130316 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130317 and @STOREID=47 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10229 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10237 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10238 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10239 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10240 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10241 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10242 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10243 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10244 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10245 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10246 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10247 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10248 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10249 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10250 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10252 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10254 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10256 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10257 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10258 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10259 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10260 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10261 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10262 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10264 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10265 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10266 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10267 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10268 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10269 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10270 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10271 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10272 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10273 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10274 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10275 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10276 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10277 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20277 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20278 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20279 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20280 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20281 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20282 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20283 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20284 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20285 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20286 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20287 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20288 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20289 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20290 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20291 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20292 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20293 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20294 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20296 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20297 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20298 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20299 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20300 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20301 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20304 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20305 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20306 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20307 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20308 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20309 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20310 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20311 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20312 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20314 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20315 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20316 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20317 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20318 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20321 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20322 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20323 and @STOREID=36 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459094 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459095 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459098 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459099 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459100 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459101 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459103 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459105 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459106 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459107 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459108 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459109 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459110 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459111 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459112 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459113 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459114 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459115 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459116 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459117 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459118 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459119 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459120 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459121 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459122 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459123 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459124 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459125 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459126 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459127 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459128 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459129 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459130 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459131 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459132 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459133 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459134 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459135 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459136 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459137 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459138 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459139 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459140 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459141 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459142 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459143 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459144 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459145 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459146 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459147 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459148 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459149 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459150 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459151 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459152 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459153 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459154 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459155 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459156 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459157 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459159 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459160 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459161 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459162 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459163 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459164 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459165 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459166 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459168 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459169 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459170 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459171 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459172 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459173 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459174 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459175 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459176 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459177 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459178 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459179 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459180 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459181 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459182 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459183 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459184 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459186 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459187 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459188 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459189 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459190 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459191 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459192 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459193 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459194 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459195 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459197 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459198 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459199 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459200 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459201 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459202 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459203 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459204 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459205 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459206 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459207 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459208 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459209 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459210 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459213 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459214 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459216 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459217 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459218 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459219 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459220 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469220 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469221 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469225 and @STOREID=130 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459094 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469097 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469098 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469099 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469100 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469101 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469102 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469104 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469106 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469107 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469108 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469109 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469110 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469111 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469112 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469113 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469114 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469115 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469116 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469117 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469118 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469120 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469121 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469122 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469123 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469124 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469125 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469126 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469127 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469128 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469130 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469131 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469132 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469133 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469134 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469136 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469138 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469139 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469140 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469141 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469142 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469143 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469144 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469145 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469146 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469147 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469148 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469149 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469150 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469151 and @STOREID=73 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =256 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =260 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =261 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =262 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =264 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =265 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =266 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =267 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =269 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =270 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =271 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =272 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =273 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =274 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =275 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =276 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =277 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =278 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =279 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =280 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =281 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =282 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =283 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =284 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =286 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =287 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =289 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =291 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =292 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =295 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =296 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =297 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =298 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =299 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =301 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =303 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =304 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =305 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =306 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =307 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =308 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =309 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =310 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =311 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =312 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =313 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =314 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =315 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =316 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =317 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =318 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =319 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =320 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =321 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =322 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =323 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =324 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =325 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =326 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =327 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =328 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =329 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =331 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =332 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =333 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =334 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =335 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =336 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =337 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =338 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =339 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =341 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =342 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =343 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =344 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =345 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =346 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =347 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =348 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =349 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =350 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =351 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =352 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =354 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =355 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =356 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =357 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =358 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =359 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =360 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =361 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =363 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =364 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =365 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =366 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =367 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =368 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =369 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =370 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =371 and @STOREID=180 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10142 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10143 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10144 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10145 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10146 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10147 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10148 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10149 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10150 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10151 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10152 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10153 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10154 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10155 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10156 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10157 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10158 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10159 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10160 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10161 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10162 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10163 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10164 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10165 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10166 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10167 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10168 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10169 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10170 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10171 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10172 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10173 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10174 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10175 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10176 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10177 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10178 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10179 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10180 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10181 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10182 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10183 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10184 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10185 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10186 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10187 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10188 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10189 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10190 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10191 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10195 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10196 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10197 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10198 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10200 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10201 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10202 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10203 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10204 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10205 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10206 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10208 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10209 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10210 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10211 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10212 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10213 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10214 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10215 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10216 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10217 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10238 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10239 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10240 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10241 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10242 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10243 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10244 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10245 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10246 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10248 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10250 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10251 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10252 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10253 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10254 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10255 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10256 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10257 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10258 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10259 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10260 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10261 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10262 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10263 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10264 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10265 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10267 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10268 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10269 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10270 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10271 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10272 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10273 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10275 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10276 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10277 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10278 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10279 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10280 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10281 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10282 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20283 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20284 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20286 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20287 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20289 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20290 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20291 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20292 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20293 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20294 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20295 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20296 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20297 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20298 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20299 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20300 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20301 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30300 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30301 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30302 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30303 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30304 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30305 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30306 and @STOREID=241 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469074 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469075 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469076 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469077 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469078 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469079 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469080 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469081 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469082 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469083 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469084 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469085 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469086 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479086 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479087 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479088 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479089 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479090 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479091 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479092 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479093 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479094 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479095 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479096 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479097 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479099 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479100 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479101 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479102 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479103 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479104 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479105 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489105 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489107 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489108 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489109 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489110 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489111 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489112 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499112 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499113 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499114 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499115 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499116 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499117 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499118 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499119 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499120 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499121 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499122 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499123 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499124 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499125 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499126 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499129 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499130 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499131 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499133 and @STOREID=89 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10221 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10222 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10223 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10224 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10225 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10226 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10227 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10228 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10230 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10231 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10232 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10233 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10234 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10235 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10236 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10237 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10239 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10240 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10241 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10242 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10245 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10246 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10247 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20248 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20249 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20250 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30250 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30251 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30252 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30253 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30254 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30255 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30256 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30257 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30258 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30259 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30260 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30261 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30262 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40262 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40264 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40265 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50266 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50267 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50269 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50270 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50271 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50272 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50273 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50274 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50275 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50276 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50277 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50278 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50280 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50281 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50282 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50283 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50284 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50285 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50286 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50287 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50288 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50289 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50290 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50291 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50292 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50293 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50294 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50295 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50296 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50297 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50298 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50299 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50301 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50302 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50303 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50304 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50305 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50306 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50307 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60307 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70307 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70308 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70309 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80307 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90308 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90309 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90310 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90311 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90313 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90314 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90315 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90316 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100316 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100318 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110318 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120318 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130318 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130320 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130321 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140322 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140323 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140324 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140325 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140326 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140329 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140330 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140332 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140333 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140334 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140335 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140336 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140337 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140338 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140340 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140341 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140342 and @STOREID=211 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469011 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469012 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469013 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469014 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469015 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469016 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469017 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469018 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469019 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469020 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469021 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469022 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469023 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469025 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469026 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469027 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469028 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469029 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469030 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469031 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469032 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469033 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469034 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469035 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469036 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469037 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469038 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469039 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469040 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469041 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469042 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469043 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469044 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469045 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469046 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469047 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469048 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469049 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469050 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469051 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469052 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469053 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469054 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469055 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469056 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469057 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469058 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469060 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469061 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469062 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469065 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469066 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469067 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469068 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469069 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469071 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469072 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469073 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469074 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469075 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469077 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469078 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469079 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469080 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469081 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469082 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469084 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469085 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469086 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469087 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469089 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469090 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469091 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469092 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469093 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469094 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479095 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489095 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489096 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489097 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489098 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489099 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489100 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489101 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489102 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489103 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489104 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499105 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499106 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499107 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499108 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499109 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499110 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499112 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499113 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499114 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499115 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499116 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499117 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499118 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499119 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509119 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509121 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509122 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509123 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509124 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509125 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509126 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509127 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509129 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509130 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509131 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519130 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519131 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519132 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519133 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519134 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529134 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529135 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529138 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529139 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529140 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529141 and @STOREID=57 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469017 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469018 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469019 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469020 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479020 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479021 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479022 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479023 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479024 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479025 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479026 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479027 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479028 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479029 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479031 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479032 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479033 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479034 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479035 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479036 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479037 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479038 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479039 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479041 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479042 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479043 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479044 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479046 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479047 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479048 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479049 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479051 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479052 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479055 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479056 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479057 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479058 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479059 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479060 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479061 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479062 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479063 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479064 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479065 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479066 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479067 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479068 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479069 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479070 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479071 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479072 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479073 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479074 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479075 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479076 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479077 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479078 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479079 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479080 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479081 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479082 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479083 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479084 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479085 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479086 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479087 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479088 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479089 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479090 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479091 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479093 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479094 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479095 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479096 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479097 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479098 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479099 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479100 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479102 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479103 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479104 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479106 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479107 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479109 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479110 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479112 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479114 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479115 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479119 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479121 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479122 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479123 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479124 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479125 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479127 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479128 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479129 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479130 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479131 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479132 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479133 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479134 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479135 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479136 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479137 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479138 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479139 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479140 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479143 and @STOREID=59 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459094 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459095 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459098 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459099 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459100 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459103 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459105 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459106 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459107 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459108 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459109 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459110 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459111 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459112 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459113 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469113 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469114 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469115 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469116 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469117 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469118 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479119 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479120 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479121 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479122 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479123 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479124 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479125 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479126 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479127 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489128 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489129 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489130 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489131 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489132 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489133 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489134 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489135 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489137 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489138 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489139 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489140 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489141 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489144 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489145 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489147 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489148 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489149 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489150 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489151 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489152 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489154 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489155 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489156 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489157 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489158 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489159 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489160 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489161 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489162 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489166 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489167 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489168 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489169 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489170 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489172 and @STOREID=144 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469046 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469047 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469048 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469049 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469050 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469051 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469052 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479052 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479053 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479054 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479055 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479056 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479059 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479060 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479061 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479062 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479064 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489064 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489065 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489066 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489067 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489068 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489069 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489070 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489071 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499071 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499074 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499075 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499076 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499077 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499078 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499081 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499082 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499085 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499086 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499087 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499088 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499089 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499090 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499091 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499092 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499093 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499096 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499097 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499098 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499099 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499100 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499101 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499102 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499103 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499104 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499106 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499107 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499108 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499109 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499110 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499111 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499112 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499113 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499114 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499115 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509115 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509116 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509117 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509118 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509119 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509120 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509121 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509122 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509126 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509127 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509128 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509129 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509130 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509132 and @STOREID=39 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469045 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469046 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469048 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469049 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469050 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469051 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469052 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469053 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469054 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469055 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469056 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469057 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469058 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469059 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469060 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469061 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469062 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479062 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479063 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479064 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479065 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479066 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479067 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479068 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479070 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479071 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479072 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479073 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479074 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479075 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479076 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479077 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479078 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479080 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479081 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479082 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479083 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479084 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479085 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479086 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479088 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479089 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489089 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499089 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499090 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509089 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509090 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509091 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509092 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519092 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519093 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519094 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519095 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519096 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519097 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519098 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529098 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529099 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529100 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529101 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529102 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529103 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529105 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529106 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529107 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529108 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529109 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529110 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529111 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529112 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529113 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529114 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529115 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529116 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529117 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529118 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529119 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539119 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539120 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539121 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549121 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549122 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549123 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549124 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549125 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549126 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549127 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549129 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549132 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549133 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549134 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549135 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549136 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549137 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549138 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549141 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549142 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549143 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549144 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549145 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559144 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559145 and @STOREID=52 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459095 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459098 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459099 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459100 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459101 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459103 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459105 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459106 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459107 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459108 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459109 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459110 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459111 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459112 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459113 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459114 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459115 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459116 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459117 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459118 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459119 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459120 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459121 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459122 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459123 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459124 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459125 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459127 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459128 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459129 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459130 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459131 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459132 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459133 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459134 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459135 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459136 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459137 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459138 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459139 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459140 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459141 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459142 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459143 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459145 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459146 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459147 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459148 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459149 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459150 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459151 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459152 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459153 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459154 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459155 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459157 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459158 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459159 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459160 and @STOREID=64 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =246 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =256 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =260 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =261 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =262 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =263 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =264 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =265 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =266 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =267 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =268 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =269 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =270 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =271 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =272 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =273 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =274 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =275 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =276 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =277 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =278 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =279 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =280 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =281 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =282 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10282 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10284 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10285 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10286 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20286 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30286 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30287 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30288 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30289 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40289 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40291 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40292 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40293 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40294 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40295 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40296 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40297 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40298 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40299 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40300 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40301 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40302 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40303 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40304 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40305 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40306 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40307 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40308 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40309 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40310 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40313 and @STOREID=230 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459094 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459095 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459098 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459099 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459100 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459101 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459105 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459106 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459107 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459108 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459110 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459111 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459112 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459113 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459114 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459115 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459116 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459117 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459118 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459119 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459120 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459121 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459122 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459123 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459124 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459125 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459126 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459127 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459128 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459129 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459130 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459132 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459133 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459134 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459135 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459136 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459137 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459138 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459139 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459141 and @STOREID=140 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469042 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469043 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469044 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469045 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469046 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469047 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469048 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469049 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469051 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469052 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469053 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469055 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469056 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469058 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469059 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469060 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469061 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469062 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469063 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469064 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469065 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469066 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469067 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469068 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469069 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469070 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469071 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469072 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469073 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469074 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469075 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469076 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469077 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469078 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469079 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469080 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469081 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469082 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469083 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469084 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469085 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469086 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469087 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469088 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469089 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469092 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469093 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469095 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469096 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469097 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469098 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469099 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469100 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469101 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469104 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469105 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469107 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469108 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469109 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469110 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469111 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479111 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479112 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479113 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479115 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479118 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479119 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479121 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479124 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479125 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479127 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479128 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479129 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479131 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479133 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489133 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489134 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489135 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489136 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489137 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499138 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499139 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499140 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499141 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499144 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499145 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499147 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499149 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499151 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499152 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499153 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499154 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499155 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499156 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499157 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499159 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499160 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499161 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499162 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499163 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499164 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499165 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499166 and @STOREID=63 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469032 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469033 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469034 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469037 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469038 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469040 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469041 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469042 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469043 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469044 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469045 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479045 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479046 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479047 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479048 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479049 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479050 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479051 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479052 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479053 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479054 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479055 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479056 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479057 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479058 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479059 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479060 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479061 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479062 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479063 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479064 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479065 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479066 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479067 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479068 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479069 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479070 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479071 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479073 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479074 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479075 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479076 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479077 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479079 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479080 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479081 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489082 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489084 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489085 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489086 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489087 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489088 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489089 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489090 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489091 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489092 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489093 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489094 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489095 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489096 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489098 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489099 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489101 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489102 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489103 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489104 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489105 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489106 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489107 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489108 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489109 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489110 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489111 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489112 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489113 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489114 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489115 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489116 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489117 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489118 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489119 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489120 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489121 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489122 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489123 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489124 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499124 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499125 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509125 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509126 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509128 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509129 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509130 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509131 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509132 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509133 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509135 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509136 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509137 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509138 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509139 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509140 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509141 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509142 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509146 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509147 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509148 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509149 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509150 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509151 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509154 and @STOREID=51 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459095 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459098 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459099 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459100 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459101 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459103 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459105 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459107 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459108 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459110 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459111 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459112 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459113 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459114 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459115 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459116 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459117 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459118 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459119 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459120 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459121 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459122 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459123 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459124 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459125 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459126 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459128 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459130 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459131 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459132 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459133 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459134 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459135 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459136 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459137 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459138 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459139 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459140 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459141 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459142 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459143 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459145 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459146 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459147 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459148 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459150 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459151 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459152 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459153 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459156 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459157 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459158 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459159 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459160 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459161 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459162 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459163 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459164 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459166 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459167 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459168 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459169 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459170 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459172 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459174 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459175 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459176 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459177 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459178 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459180 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459181 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459183 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459184 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459185 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459188 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459189 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459190 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459191 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459192 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459193 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459194 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459195 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459196 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459197 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459198 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459199 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459200 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459201 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459202 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459203 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459204 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459205 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459206 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459207 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459208 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459209 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459210 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459211 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459212 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459213 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459214 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459215 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459216 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459217 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459218 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459220 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459221 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459222 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459223 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459224 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459225 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459226 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459227 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459229 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459230 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459231 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459232 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459234 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459235 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459236 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459237 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459238 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459239 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459240 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459241 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459242 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459243 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459244 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459245 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459246 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459247 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459248 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459249 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459250 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459254 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459256 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459259 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459260 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459261 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459262 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459263 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459265 and @STOREID=105 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =227 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10242 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10243 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10244 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10245 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10246 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10247 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10248 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10249 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10250 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10251 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10252 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10253 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10254 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10255 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10256 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10257 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10258 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10259 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10260 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10261 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10262 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10263 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10264 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10265 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10266 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10267 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10268 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10269 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10270 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10271 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10272 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10273 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10274 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10275 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10276 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10277 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10278 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10279 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10280 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10281 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10282 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10283 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10284 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10285 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10286 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10287 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10288 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10289 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10290 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10291 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10292 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10293 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10294 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10295 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10296 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10297 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10298 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10299 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10300 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10301 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10302 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10303 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10304 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10305 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10307 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10308 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10309 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10310 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10311 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10312 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10313 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10314 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10315 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10316 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10317 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10318 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10319 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10320 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10321 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10322 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10323 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10324 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10325 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10326 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10327 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10328 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10329 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10330 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10331 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10332 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10333 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10334 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10335 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10336 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10337 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10338 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10339 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10340 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10342 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10343 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10344 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10345 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10346 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10347 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10348 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10349 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10350 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10351 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10352 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10354 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10355 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10357 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10358 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10359 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10360 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10361 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10362 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10364 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10365 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10366 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10368 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10369 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10370 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10371 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10372 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20373 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20374 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20375 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20376 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20377 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20378 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20379 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20380 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20381 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20382 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20383 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20384 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20385 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20386 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20387 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20388 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20389 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20390 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20391 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20392 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20393 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20394 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20396 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20397 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20398 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20399 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20400 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20401 and @STOREID=187 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459094 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459098 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459099 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459100 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459101 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459103 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459105 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459107 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459108 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459109 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459110 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459111 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459112 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459113 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459114 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459115 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459116 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459117 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459118 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459119 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459120 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459121 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459122 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459123 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459124 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459125 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459126 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459127 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459128 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459129 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459130 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459131 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459133 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459134 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459135 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459136 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459137 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459138 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459139 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459140 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459141 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459142 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459143 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459144 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459145 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459146 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459147 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459148 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459149 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459150 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459151 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459152 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459153 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459154 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459155 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459156 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459157 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459160 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459162 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459163 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459164 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459166 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459168 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459169 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459171 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459172 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459173 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459174 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459175 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459176 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459177 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459178 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459179 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459180 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459181 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459182 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459183 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459184 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459185 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459186 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459187 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459188 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459189 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459190 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459192 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459195 and @STOREID=95 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469076 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469078 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469079 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469080 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469081 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469082 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469083 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469084 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469085 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469086 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469087 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469088 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469089 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469090 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469091 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479091 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479092 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479093 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479094 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479095 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479096 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479098 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479099 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479100 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479101 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479102 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479103 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479104 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479105 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479106 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479107 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479108 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479109 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479111 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479112 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479113 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479114 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479115 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479116 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479117 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479118 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479119 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479120 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479121 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479122 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479123 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479124 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479125 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479126 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479127 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479129 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479130 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479131 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479132 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479133 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479134 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479136 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479137 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479138 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479139 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479140 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479141 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479142 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479143 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479144 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479145 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479146 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479147 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479148 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479149 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479150 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479151 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479152 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479153 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479154 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479155 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479156 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479157 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479159 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479160 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479161 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479162 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479163 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479164 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479165 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479166 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479167 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479168 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479169 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479170 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479171 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479172 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479173 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479174 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479175 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479176 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479177 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479178 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479179 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479180 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479182 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479183 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479184 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479185 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479186 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479187 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489187 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489188 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489189 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489190 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489191 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489192 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489193 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489194 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489195 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489196 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489197 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489198 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489199 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489200 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489201 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489202 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489204 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489205 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489206 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489207 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489208 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489209 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489211 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489212 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489214 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489215 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489216 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489217 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489218 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489219 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489220 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489221 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489222 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489223 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489224 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489225 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489226 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489227 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489228 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489229 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499229 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499230 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499231 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499232 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499233 and @STOREID=99 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469014 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469015 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469016 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469017 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469018 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469019 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469020 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469021 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469022 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469023 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469024 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469025 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469026 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469027 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469028 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469029 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469031 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469032 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469033 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469034 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469035 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469036 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469037 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469038 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469039 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469040 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469041 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469042 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469043 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469044 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469045 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469046 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469047 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469048 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469049 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469050 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469051 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469052 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469053 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469054 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469055 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469056 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469057 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469058 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469059 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469060 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469061 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469062 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469063 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469064 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469065 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469066 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469067 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469068 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469069 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469070 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469071 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469072 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469073 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469074 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469075 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469077 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469078 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469079 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469080 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469081 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469082 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469083 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469086 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469087 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469088 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489087 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489088 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489089 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489090 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489091 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499093 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499094 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499095 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499096 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499097 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499099 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499100 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499101 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499102 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499103 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499104 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499105 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499106 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499107 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499109 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499112 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499113 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499114 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499115 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499116 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499117 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509117 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509118 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509119 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509121 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509122 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509123 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519123 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529124 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529125 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529126 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529127 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529128 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529129 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529130 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529131 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529133 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529134 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529136 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529137 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529138 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529139 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529140 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529141 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529142 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529143 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529144 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539144 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539145 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539146 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539147 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539148 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539149 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539150 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539152 and @STOREID=112 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459079 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459094 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459095 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459098 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459099 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459100 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459101 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459103 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459105 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459106 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459107 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459108 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459110 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459111 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459112 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459113 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459115 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459116 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459117 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459118 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459119 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459121 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459122 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459123 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459125 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459126 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459127 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459128 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459129 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459130 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459131 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459134 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459135 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459138 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459139 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459140 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459141 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459142 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459144 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459145 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459146 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459148 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459149 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459150 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459151 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459152 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459153 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459154 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459156 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459157 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459160 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459161 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459162 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459163 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459164 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459165 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459167 and @STOREID=13 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459058 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459095 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459098 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459099 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459100 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459101 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459103 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459105 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459106 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459107 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459108 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459109 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459110 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459111 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459112 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459113 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459114 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459117 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459118 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459119 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459120 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459122 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459123 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459124 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459125 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459126 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459127 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459128 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459129 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459130 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459131 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459132 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459133 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459135 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459136 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459137 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459138 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459139 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459140 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459141 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459142 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459143 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459145 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459146 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459147 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459148 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459149 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459150 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459151 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459152 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459153 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459154 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459155 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459156 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459157 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459158 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459159 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459160 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459161 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459162 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459163 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459164 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459165 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459166 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459167 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459168 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459169 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459170 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459171 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459172 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459173 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469096 and @STOREID=145 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458798 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458799 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458800 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458801 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458802 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458803 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469053 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469054 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469055 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469056 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469057 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469058 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469059 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469060 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469061 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469062 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469063 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469064 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469065 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479065 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479066 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479067 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479068 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489068 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489069 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489070 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499070 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499071 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499072 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499073 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499074 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499075 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499076 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499077 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499078 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499079 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499080 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499081 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509081 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509082 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509083 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509084 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509085 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509086 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509087 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509088 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509089 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509090 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509091 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509092 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519093 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529092 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539092 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539093 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539094 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539095 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539096 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539097 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539100 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539101 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539102 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539104 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539105 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539106 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539107 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539109 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539111 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539112 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539113 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539114 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539115 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539116 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539117 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539118 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539119 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539120 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539121 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539122 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539123 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539124 and @STOREID=60 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458899 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469029 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469030 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469031 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469032 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469034 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469035 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469036 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469038 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469039 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469040 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469041 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469042 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469043 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469044 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469045 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469046 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469047 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469048 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469049 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469050 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469051 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469052 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469053 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469054 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469055 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479055 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479056 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479057 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479058 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479059 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479060 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479061 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479062 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479063 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479064 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479065 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479066 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479067 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479068 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479069 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479070 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479071 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479072 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479073 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479074 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479075 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479076 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479077 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479078 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479079 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479080 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479081 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479082 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479083 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479084 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479085 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479086 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479088 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479089 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479090 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479091 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479092 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479093 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479094 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479095 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479099 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479100 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489099 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489100 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489101 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489102 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489103 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489104 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489105 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489106 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489107 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489108 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489109 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489110 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489111 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489112 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489113 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489114 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489115 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489117 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489118 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489119 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489120 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489121 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489122 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489123 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489124 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489125 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489126 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489127 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499128 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499129 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499130 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499131 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499133 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499134 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499135 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499137 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499138 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499139 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499141 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499143 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499144 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509144 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509145 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519145 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =519146 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529146 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529148 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529149 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529150 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529151 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529152 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529153 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539153 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539155 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549155 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549156 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549157 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549158 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559159 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559160 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559162 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559164 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559165 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559167 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559168 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559170 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559171 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559172 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559173 and @STOREID=66 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20194 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30194 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40194 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40195 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40196 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40197 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40198 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50198 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50199 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50200 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60200 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70200 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70201 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70202 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70203 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70205 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70211 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70212 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70213 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70214 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70215 and @STOREID=293 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =193 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =194 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =195 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =196 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =197 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =198 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =199 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =200 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =201 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =202 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =203 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =204 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =205 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =206 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =207 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =208 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =209 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =210 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =211 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =212 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =213 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =214 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =215 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =216 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =217 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =218 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =219 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =220 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =221 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =222 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =223 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =224 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =225 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =226 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =228 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =229 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =230 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =231 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =232 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =233 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =234 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =235 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =236 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =237 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =238 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =239 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =240 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =241 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =242 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =243 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =244 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =245 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =247 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =248 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =249 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =250 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =251 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =252 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =253 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =254 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =255 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =256 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =257 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =258 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =259 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =260 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =261 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =262 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =263 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =264 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =265 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =266 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =267 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =268 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =269 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =270 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =271 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =272 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =273 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =274 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =275 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =276 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =277 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =278 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =279 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =280 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =281 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =282 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =283 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =284 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =285 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =286 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =287 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =288 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =289 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =290 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =291 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =292 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =293 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =294 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =295 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =297 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =298 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =299 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =300 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =301 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =302 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =303 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =304 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =305 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =306 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =307 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =308 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =309 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =310 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =311 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =312 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =313 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =314 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =315 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =316 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =317 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =318 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =319 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =320 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =322 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =324 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =325 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =326 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =327 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =328 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =329 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =330 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =331 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =332 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =334 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =335 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =336 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =337 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =338 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =340 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =341 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =343 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =344 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =345 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =346 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =348 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =349 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =350 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =353 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =354 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =355 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =356 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =357 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =358 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =359 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =360 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =361 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =363 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =364 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =365 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =368 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =369 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =370 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =371 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =372 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =373 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =374 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =375 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =376 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =378 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =379 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =380 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =381 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =382 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =383 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =384 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =385 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =386 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =387 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =388 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =389 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =390 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =391 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =392 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =393 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =394 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =395 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =396 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =397 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =398 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =399 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =401 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =402 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =403 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10404 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10405 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10406 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10407 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10408 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10409 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10411 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10412 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10413 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10414 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10415 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10418 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10419 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10420 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10421 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10422 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10423 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10424 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10427 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10429 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10431 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10432 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10433 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10434 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10435 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10436 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10438 and @STOREID=176 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =4 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =5 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =6 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =7 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =8 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =9 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =11 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =12 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =13 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =14 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =15 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =16 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =17 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =18 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =19 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =21 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =22 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =23 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =24 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =25 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =26 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =27 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =28 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =29 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =31 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =32 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =33 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =34 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =35 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =36 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =37 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =38 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =39 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =41 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =42 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =43 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =44 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =45 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =46 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =47 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =48 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =49 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =51 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =52 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =53 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =54 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =55 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =56 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =57 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =58 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =59 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =61 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =62 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =63 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =64 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =65 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =66 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =67 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =68 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =69 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =71 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =72 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =73 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =74 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =75 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =76 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =77 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =78 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =79 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =80 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =81 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =82 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =83 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =84 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =85 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =86 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =87 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =88 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =89 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =90 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =91 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =92 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =93 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =94 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =95 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =96 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =97 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =98 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =99 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =100 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =101 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =102 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =103 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =104 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =105 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =106 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =107 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =108 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =109 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =110 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =111 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =112 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =113 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =114 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =115 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =116 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =117 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =118 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =119 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =120 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =121 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =122 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =123 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =124 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =125 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =126 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =127 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =128 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =129 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =130 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =131 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =132 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =133 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =134 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =135 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =136 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =137 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =138 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =139 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =140 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =141 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =142 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =143 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =144 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =145 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =146 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =147 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =148 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =149 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =150 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =151 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =152 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =153 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =154 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =155 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =156 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =157 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =158 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =159 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =160 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =161 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =162 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =163 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =164 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =165 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =166 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =167 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =168 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =169 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =170 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =171 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =172 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =173 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =174 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =175 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =176 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =177 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =178 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =179 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =180 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =181 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =182 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =183 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =184 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =185 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =186 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =187 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =188 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =189 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =190 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =191 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =192 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10192 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10193 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =10194 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =20194 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =30194 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40194 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40195 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40196 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40197 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =40198 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50198 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50199 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =50200 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =60200 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70200 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70201 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70202 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70203 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70204 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70205 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70206 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70207 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70210 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70217 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70219 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70220 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70221 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70222 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =70225 and @STOREID=297 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458806 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458818 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458830 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458834 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458852 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458869 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458885 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458887 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458897 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458900 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458910 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458939 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458976 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458986 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458987 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459023 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459072 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459078 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459085 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459094 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459096 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459098 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459099 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459100 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459101 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459103 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459105 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459106 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459107 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459108 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459109 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459110 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459111 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459112 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459113 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459114 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459115 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459116 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459117 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459118 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459119 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459120 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459121 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459122 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459123 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459125 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459126 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459128 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459129 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459130 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459131 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459132 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459133 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459134 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459135 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459136 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459137 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459138 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459139 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459140 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459141 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459142 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459143 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459144 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459145 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459146 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459147 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459148 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459149 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459150 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459152 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459153 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459154 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459155 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459156 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469155 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469156 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469157 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479157 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479158 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479159 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479161 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479163 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479164 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479165 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479166 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479167 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479168 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479169 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479170 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479171 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479172 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479173 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479174 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479175 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =479178 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =489178 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499178 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =499179 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509178 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509179 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509180 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =509181 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529182 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529184 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529185 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529186 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529187 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =529188 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =539189 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549190 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549191 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549192 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549193 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =549194 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559196 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559197 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559198 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559199 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =559200 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569199 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569200 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569202 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569203 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569204 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569205 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569206 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569207 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569208 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569209 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569210 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569211 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =569212 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =579213 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =589213 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =589214 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =589215 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =589216 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =589217 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =589218 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =589219 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =599218 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =599219 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =609219 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =609220 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =619220 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =619221 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =619222 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =619223 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =619224 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =619225 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =629225 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =629226 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =629227 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =629228 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =629229 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =629230 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =629231 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =629233 and @STOREID=74 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =2 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458804 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458805 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458807 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458808 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458809 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458810 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458811 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458812 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458813 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458814 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458815 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458816 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458817 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458819 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458820 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458821 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458822 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458823 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458824 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458825 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458826 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458827 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458828 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458829 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458831 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458832 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458833 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458835 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458836 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458837 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458838 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458839 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458840 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458841 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458842 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458843 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458844 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458845 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458846 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458847 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458848 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458849 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458850 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458851 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458853 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458854 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458855 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458856 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458857 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458858 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458859 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458860 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458861 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458862 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458863 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458864 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458865 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458866 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458867 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458868 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458870 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458871 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458872 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458873 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458874 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458875 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458876 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458877 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458878 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458879 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458880 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458881 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458882 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458883 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458884 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458886 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458888 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458889 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458890 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458891 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458892 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458893 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458894 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458895 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458896 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458898 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458901 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458902 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458903 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458904 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458905 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458906 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458907 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458908 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458909 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458911 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458912 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458913 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458914 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458915 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458916 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458917 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458918 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458919 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458920 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458921 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458922 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458923 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458924 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458925 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458926 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458927 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458928 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458929 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458930 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458931 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458932 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458933 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458934 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458935 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458936 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458937 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458938 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458940 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458941 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458942 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458943 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458944 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458945 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458946 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458947 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458948 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458949 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458950 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458951 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458952 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458953 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458954 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458955 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458956 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458957 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458958 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458959 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458960 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458961 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458962 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458963 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458964 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458965 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458966 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458967 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458968 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458969 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458970 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458971 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458972 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458973 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458974 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458975 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458977 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458978 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458979 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458980 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458981 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458982 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458983 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458984 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458985 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458988 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458989 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458990 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458991 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458992 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458993 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458994 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458995 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458996 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458997 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458998 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =458999 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459000 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459001 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459002 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459003 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459004 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459005 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459006 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459007 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459008 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459009 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459010 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459011 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459012 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459013 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459014 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459015 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459016 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459017 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459018 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459019 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459020 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459021 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459022 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459024 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459025 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459026 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459027 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459028 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459029 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459030 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459031 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459032 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459033 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459034 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459035 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459036 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459037 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459038 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459039 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459040 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459041 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459042 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459043 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459044 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459045 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459046 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459047 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459048 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459049 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459050 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459051 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459052 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459053 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459054 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459055 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459056 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459057 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459059 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459060 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459061 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459062 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459063 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459064 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459065 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459066 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459067 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459068 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459069 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459070 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459071 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459073 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459074 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459075 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459076 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459077 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459080 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459081 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459082 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459083 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459084 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459086 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459087 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459088 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459089 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459090 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459091 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459092 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459093 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459094 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459095 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459097 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459098 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459100 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459101 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459102 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459103 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459104 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459105 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459106 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459107 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459108 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459109 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459110 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459111 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459112 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459113 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459114 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459115 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459116 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459117 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459118 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459119 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459120 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459121 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459122 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459123 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459124 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459125 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459126 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459127 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459128 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459130 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459131 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459132 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459133 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459134 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459135 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459136 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459137 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459138 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459139 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459140 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459143 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459144 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459145 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459146 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459147 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459148 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459149 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459150 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459151 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459152 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459153 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459155 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459156 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459157 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459158 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459159 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459160 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459161 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459162 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459163 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459164 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459165 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459166 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459167 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459168 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459169 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459170 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459171 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459172 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459173 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459174 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459175 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459176 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459179 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459180 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459181 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459182 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459183 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459184 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459185 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459186 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459187 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459188 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459190 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459191 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459192 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459193 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459194 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459195 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459196 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459197 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459198 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459199 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459200 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459201 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459202 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459203 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459204 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459205 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459206 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459207 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459208 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459209 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459210 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459211 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459212 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459213 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459214 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459215 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459216 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459217 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459218 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459219 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459220 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459221 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459222 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459223 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459224 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459225 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459226 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459227 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =459228 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469227 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469228 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469229 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469230 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469231 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469232 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469233 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469234 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469235 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469236 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469237 and @STOREID=29 and global_user_id is null; update [system_user] set locked = 1 where system_user_id =469238 and @STOREID=29 and global_user_id is null;