Viewing 15 posts - 46 through 60 (of 136 total)
Andy,
TS access to the server? HA! Like THAT will ever happen!
The paths issue is why, as a developer, I NEVER use drive letters. If you use a fully...
August 6, 2002 at 2:33 pm
Error: -2147467259 (80004005);
This one drove me crazy for a while. I had a VB program that called a dts package to import an Excel spreadsheet. The error...
August 6, 2002 at 1:23 pm
Custom tasks are very complex. Keep it simple and use vbScript in an activex transformation. Then all you need to do is:
Dim obj
Set obj = createobject("mydll.mycustombunk")
obj.dosomething
set obj = nothing
Be...
August 6, 2002 at 12:44 pm
Andy,
I've never worked with the DTS designer in VB, but if you can open a DTS package in VB, then save it back to the server, that would be...
August 6, 2002 at 12:35 pm
I've tackled this two different ways, but haven't found the exact answer you want. Here's what we've done.
To write to an Excel file, the best tool available...
August 6, 2002 at 12:25 pm
Jon,
Establishing a linked server just stores your connection string information in the master..sysservers table as you have in the DTS package. The only ODBC traffic you'll see is from...
August 6, 2002 at 11:55 am
This might be usefull reading material:
INF: Understanding How the Transact-SQL KILL Command Works (Q171224)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q171224
June 11, 2002 at 3:14 pm
I would definitely go the job route. Set up a job to reset the table once per day. Then it's a simple matter of grabbing today's serial number from...
April 8, 2002 at 8:01 pm
Sounds like there's a char(17) somewhere in the mix. Either that, or someone hexed your sql server.
A sure way to only get the first 15 characters is...
April 8, 2002 at 7:52 pm
(Select COUNT(DISTINCT dbo.tblHotelReservations.HotelReservationID)
WHERE dbo.tblHotelReservations.DateCancelled IS NULL)
AS HotelResCount
April 8, 2002 at 7:37 pm
I really don't know unless the length of table1.col1 is constant. If you know the length of table1.col1 was 3 for example you could:
insert into table1 (col1, col2)
select
...
April 8, 2002 at 7:24 pm
You mean like this? (you'll have to convert to vbScript)
Dim fso As New Scripting.FileSystemObject
Dim f As File
Dim ts, ts2 As TextStream
Dim s As String
Set f = fso.GetFile("c:\test.txt")
Set ts = f.OpenAsTextStream(ForReading)
Set...
April 8, 2002 at 7:08 pm
That's the road I was going down. You're passing LoadFromSQLServer the SQL login, not an NT login. The package is going to run under the context of IIS (whatever...
April 8, 2002 at 5:43 pm
ok, so you can create the object. What does the DTS package do? Does the package need file access or rights on the network? What does strError return?
...
April 8, 2002 at 5:28 pm
Viewing 15 posts - 46 through 60 (of 136 total)