none
USQL- Pass Filename from Usql script to C# Code behind code

    Question

  • Hi,

    I'm trying to process all csv files from a particular folder locally. As per below syntax:

    DECLARE @input = @"C:\Usql\{*}.csv";

    I have written a UDO code at Code behind. While processing each row of the file, I require the filename at code behind.

    With {*}.csv pattern, I'm able to process all files , but can't get hold of the filename at code behind that is been processed.

    How to pass/access the filename from script to C# code behind code?

    Monday, March 13, 2017 6:37 AM

All replies