Skip to content
Advertisement

How to add a new column in a view?

I have this view:

And I wanted to add a new column with the following replication code:

but he returns the error:

I thought about deleting this table that already exists, but I don’t know if it would be the best way to do it.

How can I do it?

Advertisement

Answer

you can use alter view. Its better because it will fail if script isnt correct. but if you drop and miss something in script and cant resolve issue fast, some other process may fail.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement