2
I have a database with 41 tables, in all tables I have a common column to which I would like to assign another dataType. In my case the column is currently varchar(255) and would like to change to small dataTime, however I would like to avoid having to go table by table making this change. Is there any way to do this ? In the researches I have done I found nothing didactic regarding the change of the type of a column in several tables quickly, considering that I started to study databases and SQL Server recently.
can create a
function
or aprocedure
who does this, you choose– Tmilitino
@Tmilitino I will do some research on functions and procedures. Thank you.
– Levi