weston_086
SSCommitted
Points: 1645
More actions
July 2, 2012 at 12:12 pm
#271931
How we can count number of rows in a flat file without loading it in the table?.I want to know it just from flat file.because i just want to make sure in my table i have same number of rows as of flat file after loading.
thanks
Nicholas Cain
SSC-Dedicated
Points: 33009
July 2, 2012 at 2:26 pm
#1507922
With PowerShell you can get a count of rows in a flat file using
(Get-Content "file.txt").Count
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply