INSERT MILLION RECORD SQL SERVER | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

INSERT MILLION RECORD SQL SERVER

I have a table Employee, issue i dont know how to insert 1 million reocrd ( name ) into table, can you help me

26th Dec 2022, 7:09 AM
duy tuan nguyen
duy tuan nguyen - avatar
6 Answers
+ 4
Depending on the origin of data, and whether the source of data was supported, you might get some help by using import/export data wizard https://learn.microsoft.com/en-us/sql/integration-services/import-export-data/start-the-sql-server-import-and-export-wizard
26th Dec 2022, 7:24 AM
Ipang
+ 1
It would be all the records if there are less than a million records
26th Dec 2022, 9:28 AM
Calviղ
Calviղ - avatar
0
i wanna insert from another table
26th Dec 2022, 7:37 AM
duy tuan nguyen
duy tuan nguyen - avatar
0
Try to follow the steps described in attached link, hope it helps you find a way ...
26th Dec 2022, 7:39 AM
Ipang
0
INSERT INTO Employee (col1, col2, col3, ...) SELECT col1, col2, col3, ... FROM AnotherEmployee LIMIT 1000000;
26th Dec 2022, 7:45 AM
Calviղ
Calviղ - avatar
0
but that table dont enough 1000000 row
26th Dec 2022, 8:15 AM
duy tuan nguyen
duy tuan nguyen - avatar