How about backup and restore . will the backup store at same location where server is installed or how we can change it and after restoring bak file . will it store existing records or overwrite it
Export table back up and restore
Hi Expert,
How i can take table backup and restore again in sql server when more data is available at the time of import
create table table2
(col1 date, col2 char)
insert into table2
values('2022-02-02',22)
then took backup
at the time of restore found 2 more incremental records in table2
insert into table2
values('2022-02-03',22),
('2022-02-04',22)
how it will restore and backup with dates with new records
how it will restore and backup with dates with new records
13 answers
Sort by: Most helpful
-
-
Ronen Ariely 15,096 Reputation points
2022-06-13T14:39:04.84+00:00 Start with these documents if you must and you don't want to learn in an ordinary course:
-
Shambhu Rai 1,406 Reputation points
2022-06-13T14:46:29.953+00:00 Hi Expert,
i just need a insert statement to be store in file where i will get following records for a table that sitinsert into table2
values('2022-02-02',22)
,('2022-02-03',22),
('2022-02-04',22) -
Shambhu Rai 1,406 Reputation points
2022-06-13T15:03:04.457+00:00 Hi Expert,
How can i export insert statement from database table into file
Expected output
insert into table2
values('2022-02-02',22)
,('2022-02-03',22),
('2022-02-04',22) -
Shambhu Rai 1,406 Reputation points
2022-06-13T16:32:52.27+00:00 i tried this
https://www.mytecbits.com/microsoft/sql-server/auto-generate-insert-statements
but no luck