I'm implementing a feature which reads comma separated txt file from server(one line at a time).
Format of file is fixed, There are 3 columns on each row.
After reading the row from file I insert it in a database table.
But first value of each row aoutomatically appends two blank spaces, even if there are no blank spaces at the begining of each row.
I tried to use "TRIM/LTRIM/Replace" to remove blank spece from the first value of each row, but didn't succeed.
I even tried to use trim in stored procedure itself.
Can you please provide me a work around to remove blank spaces in this scenario.
Thanks in advance