1 2 3 4 5 6 7 8 9 10 11 12 |
set @my_barrier= "barrier"; SELECT CREATE_BARRIER(@my_barrier); CREATE_BARRIER(@my_barrier) 1 SELECT USER_BARRIER_NAME FROM DATA_DICTIONARY.USER_DEFINED_BARRIERS WHERE USER_BARRIER_NAME=@my_barrier; USER_BARRIER_NAME barrier set @my_barrier= "barrier"; SELECT USER_BARRIER_NAME FROM DATA_DICTIONARY.USER_DEFINED_BARRIERS WHERE USER_BARRIER_NAME=@my_barrier; USER_BARRIER_NAME barrier SET @execute= "SELECT WAIT('barrier')"; |