Viewing 8 posts - 1 through 8 (of 8 total)
Thanks david,
I can read / write using the stream object. However I am dealing with 3 tier architecture the problem is I don't have ADO at the front end.....
July 1, 2002 at 1:01 pm
create a record set, set the value of the image field to the stream object
To database:
rs.fields(0).value = streamobject.read
From database:
streamobject.write rs.fields(0).value
abdul
June 28, 2002 at 5:05 pm
that was a quick reply!
abdul
June 28, 2002 at 4:51 pm
hi friend,
I have done something similar for a project I was doing recently. I did not use vbscript though.
I looked for a file at a given location using xp_fileexists. If...
April 17, 2002 at 2:13 pm
You're code does work even if you don't supply the file name..
e.g. EXEC master..xp_cmdshell 'DIR E:\Dev\Data\OrdercanceReject\*.zip /T:C'
will give
Volume in drive E is E
Volume Serial Number is 942B-B387
NULL
Directory of E:\Dev\Data\OrdercanceReject
NULL
28/03/2002 ...
April 10, 2002 at 4:56 pm
unfortuantly I don't know the name of the file. It is zipped file of the name
RSP_MIReportsddmmyy.zip.
I have resorted to VB and have used the FileSystemobject...
I created a little VB app,...
April 10, 2002 at 4:43 pm
can't you use SQL Server's BCP instead, are you doing any formatting with thetext file? before the data from the file ends at its final destination?
abdul
April 3, 2002 at 4:24 pm
Thanks.
I have done it..
I have used the sql server stored proc. sp_update_jobscehdule and some TSQL to check for current time and have achieved what I wanted. Basically I look for...
April 3, 2002 at 4:18 pm
Viewing 8 posts - 1 through 8 (of 8 total)