My question is in the SELECT INTO statement, will I get the value of val1 from the INSERT INTO in the same transaction even though the transaction has not ended yet. I think no. How would I get that latest value of val1 in the same transaction because its not committed yet as the transaction has not ended.
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.