I
I
Ilya2019-03-28 10:56:10
SQL
Ilya, 2019-03-28 10:56:10

Can DDL statements be used inside a procedure body?

Whether it is possible to thrust into procedure operators CREATE/DROP...?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
duhbox, 2019-03-28
@illaaa

Of course you can, not only DDL, but also DML. This is called dynamic sql.
https://habr.com/ru/post/272807/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question