ok, pls confirm if I am understanding you correctly. you are using SQL DTS to connect to an Access database and it is doing a line count of a table in the access db and then exporting the line count to a .txt file
I'm using a SQL DTS to connect an Access database and it connect to a text file(connected as table), and then i'm exporting a count of the table(that is connected to a txt file) to a table of sql server.
What i want is esport the count of lines in a txt file to a table in sql.
No.
I have one SQL DTS to connect to an Access database, that have one table(connect to a txt file), to give me the number of lines in the txt file, and inserting in a sql table.
ok, I think I see now what the DTS is doing. You have a .txt as a linked table in access. you are connecting through the virtual access table from sql dts and exporting a query of the line count to SQL server.
Is it working manually but not when you schedule it as a job? If so check that the SQL Server Agent service startup account has permission to read the .txt file from the drive on which it is stored. again, sorry if I'm still not understanding fully where the problem is
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.