Hi @ArunRaaman
Couple of instances,
- To validate if a query returns a data set or not - like how we quickly do select top 1 from tablename particularly to save time. In case of a file, if you havent marked first row as header, then selecting First Row only will fetch you the header details.
- When just want to understand the schema or column names of the underlying table or file where we dont want complete data set but just one record would do. in case of selecting first row only, we will see all column names under firstrow tag as below from where we can determine if all columns that we want are there or a particular column is missing or not. {
}"firstRow": { "Id": "1", "schema":"dbo", "table":"Table1" }
Hope it answers your question. Feel free to write back for any question,