Viewing 14 posts - 1 through 14 (of 14 total)
there are header also on my test file on workstation.... i've solved changing the modifying the extend properties of excel connection and setting IMEX=1
the problem is that on my pc...
April 3, 2007 at 9:00 am
sorry, the line:
set @comp_date = @comp_date - 1
is wrong (good to compute the previous friday). use this
set @comp_date = @comp_date + 1
March 20, 2007 at 4:16 am
for the same scope i've used this function. is useful also to compute the previous friday.
CREATE FUNCTION Next_Friday
(@ref_date datetime)
RETURNS datetime
AS
BEGIN
declare @comp_date datetime
DECLARE @ddayVARCHAR (15)
declare @X varchar
SET @COMP_DATE = convert(varchar(2),datepart...
March 20, 2007 at 4:14 am
may be this post is not in the right section: here is to talk about DTS and you ask for something that is better to do with other tools (query...
January 17, 2007 at 8:15 am
hi pinky,
try using wizard and bywizard save your dts. then you can check the difference between the one realized by wizard and your one.
i've exported table with more than 50...
January 17, 2007 at 3:46 am
you can realize a stored procedure that, using a cursor, analyze the field and update it as you want and then put the call to this procedure into an 'execute...
January 17, 2007 at 3:37 am
i don't know if it works but... i'm confident of it!
try this, instead of oFSO.CopyFile use oFSO.CopySheet and see if it works, so in the excel file you'll have...
January 10, 2007 at 6:45 am
i've found this example lot of time ago....and i've used with success...
using active x:
' Copy File
Option Explicit
Function Main()
January 10, 2007 at 3:25 am
i see only that you must specify the attachment as a string so:
@attachments = 'C:\Documents and Settings\Desktop\test.xls'
that is different from
@attachments = C:\Documents and Settings\Desktop\test.xls'
sorry for my english...
December 6, 2006 at 9:45 am
December 6, 2006 at 9:43 am
are you sure the file to be attached was created?
which is the error??
December 6, 2006 at 9:10 am
you can use an "execute sql task"
use a select count(*) from tabletoexport
if count(*) > 0
xp_sendmail
end if
December 6, 2006 at 4:18 am
Viewing 14 posts - 1 through 14 (of 14 total)