Hi all,
we have a server serving as a data warehouse, we extract flat files from different sources then we launch a load job in SQL Server Management Studio that loads every flat file in its correspondent database table. We have around 200 tables. The job that loads the data is called "Data Load". We use SQL Loaders for each file, all are .CTL. For example here are the first 5 lines of every CTL file :
OPTIONS ( ERRORS=50, ROWS=10000, BINDSIZE=50000,READSIZE=65536)
LOAD DATA
INFILE 'ACCOUNTS.DATA'
INTO TABLE "ACCOUNTS"
INSERT
Everything was working good, but yesterday, suddenly the Data Load job doesn't load anything into the database.
Here's the error we get :
Code: 0xC002F309 Source: EST Get Table Name Of Sequence Execute SQL Task Description: An error occurred while assigning a value to variable "table_name": "Single Row result set is specified, but no rows were returned.". End Error DTExec: The package execution returned DTSER_FAILURE (1).
We didn't change anything in the CTL files nor the Data Load package. This job was working perfectly since 4 years.
I suspected it's something about the connection with the database, as it maybe couldn't get the Table Name.
It's an MIS server for work and we're totally blocked.
Thanks in advance.