Viewing 4 posts - 1 through 4 (of 4 total)
use below code to create primary key on existing table.
ALTER TABLE <table name>
ADD PRIMARY KEY (<column name>)
but the column you are going to specify in syntax should not have duplicate...
October 20, 2015 at 8:05 am
Hi,
Index creation on date column and table partition would be a better option for creating reports on a big table.
October 20, 2015 at 7:59 am
Hi,
I had came across similar scenario but different case(moving older that 30 days data from source table).
Mass deletion using delete command will take huge time and if the date column...
October 9, 2015 at 2:20 am
Hi,
Just add 7 packages to the SQL Agent as a job with different steps and schedule it according to your requirement.
October 9, 2015 at 2:07 am
Viewing 4 posts - 1 through 4 (of 4 total)