![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I am trying to export some records everyday to a destination (.xls) file through SQL Server Enterprize Manager. The DTS package works fine .... BUT the problem is every time the DTS package runs the records get appended in the .xls file. HOW CAN I MAKE SURE THAT THE .XLS FILE IS OVERWRITTEN EVERDAY .... SOMEONE PLEEEEASE HELP ME..... Regards. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thanks a lot,Allan Mitchell. I was succesfull in DROPPING TABLE against the XL connection by using the code: exec master..xp_cmdshell "del j:\my_delete.txt" BUT I was unable to CREATE TABLE against the XL connection. Can u please help me with the code for creating table against the XL connection. Best regards. -- Message posted via http://www.sqlmonster.com |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
DROP TABLE 'MyExcelTableNameGoesHere' would not work for me ... But the following worked for me: exec master..xp_cmdshell "del j:\MyExcelTableNameGoesHere" Now I need help with the codes for: CREATEING TABLE against the XL connection Best regards. -- Message posted via http://www.sqlmonster.com |
#7
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |