Insert rows limitation from Excel to SQL Server

walgr2k

New Member
Joined
Mar 22, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I am using VBA to insert 6-column data from Excel to SQL server. The data will be firstly convert to JSON, then to DB. If the rows are less than 2600 rows, it will be inserted. Otherwise, VBA reports the data sent, but it's actually not in the DB server. The biggest column data length is about 20 characters (in DB, it's far longer with Varchar type). Is there any limitation?

The other issue is: when DB server OS changes Daylight time zone, there is one column records Date&Time, when successfully inserted, it will be one hour less. Say it's 9:00am in Excel, then it's 8:00am in SQL Server. No clue on this since OS time changes already.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,224,823
Messages
6,181,180
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top