sql - Inserting more than 1000 rows from Excel into SQLServer -
sql - Inserting more than 1000 rows from Excel into SQLServer -
i'm new sql best way insert more 1000 rows excel document database(sql server 2008.)
for illustration i'm using below query:
insert mytable(companyid,category,sub,catalogueref) values ('10197','cat', sub','123'), ('10197','cat2', sub2','124')
this working fine there limit of inserting 1000 records , have 19000 records , don't want 19 separate insert statements , question, company id same there improve way writing 19000 times?
thanks
microsoft provides import wizard sql server. i've used migrate info other databases , spreadsheets. pretty robust , easy use.
sql sql-server sql-server-2008 insert
Comments
Post a Comment