Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

I don't want to stop the production and then empty the table then run above query.I want to run this query in production...to do Not Null condition as yes

$
0
0

Hi,

If I update a table as:

ALTER TABLE T008F002E20001 ALTER COLUMN K1 char(10) NOT NULL;

and that colum has null values but I don't want to stop the production and then empty the table then run above query.I want to run this query in production...to do Not Null condition as  yes.

Can I do it..the rows are around 200345675 in the table.


Thanks


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>