The FileName function returns a string containing the name of the table file currently being read, without path but including the extension.
Syntax:
FileName()
Example | Result |
---|---|
LOAD *, FileName( ) as X from C:\UserFiles\abc.txt |
Will return |