Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
inbs
Aged Yak Warrior
860 Posts |
Posted - 2009-11-16 : 04:32:42
|
i load every day a file ,how can i check if is empty?thanks |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-11-16 : 06:44:41
|
You can load it into a staging table. If the table has no records, the file is empty.Or, you can use the Event Handlers to assign read record count into a variable. N 56°04'39.26"E 12°55'05.63" |
 |
|
inbs
Aged Yak Warrior
860 Posts |
Posted - 2009-11-16 : 07:04:38
|
how i assign read record count into a variable? |
 |
|
|
|
|