Viewing 15 posts - 196 through 210 (of 223 total)
Unfortunately the ISNULL in DTS uses vbScript not SQL so the use should be like this
IF ISNULL(DTSSourceColumnName) THEN
DTSDestinationColumn = " "
ELSE
DTSDestinationColumn = DTSSourceColumn
END IF
Hope this helps!
September 15, 2004 at 10:08 am
Try this:
IF IsNull(DTSSource("Fld1") = cBool(True) THEN
DTSDestination("Fld1") = " "
ELSE
DTSDestination("Fld1") = DTSSource("Fld1")
END IF
September 14, 2004 at 12:42 pm
Ray, you could try something like this.
sOutString = Day(Now) & Hour(NOW) & Minute(Now) & Second(Now)
and then append sOutString as part of the file name
September 14, 2004 at 12:37 pm
I always try to use the SET oRecordset = oConnection.Execute(strSQL) - seems to give me less headaches.
September 13, 2004 at 4:13 pm
Marcelo,
Can you run the DTS package directly without receiving an error?
September 13, 2004 at 8:40 am
I created a proc that accepts one input parameter and returns one output parameter. I created two Global Parameters (one for input and one for output - I could have...
September 3, 2004 at 3:33 pm
Matt,
From the Output parameters tab select the "Create Global Variables" option. This will let you choose the type of output expected (IE single value, recordset...).
Hope this helps
September 3, 2004 at 7:56 am
Simon,
If you are running on XP take a look at the thread on this site entitled "XP SP2 screwing up DTS transform on Text field" If that doesn't help...
September 2, 2004 at 7:20 am
Jay,
Do both the SourceShare and WorkingDir contain a fully qualified path and filename?
September 1, 2004 at 3:33 pm
Try changing this line from True to False
objBL.SGDropTables = True (False)
September 1, 2004 at 7:23 am
If you are running it on your local SQL server then use this (local) for the datasource. If you have the option I would install SQLXML 3.0 on your machine...
August 30, 2004 at 9:56 am
Try this:
'*************
'** Changed **
'*************
'Set objBL = CreateObject("SQLXMLBulkLoad.SQLXMLBulkLoad")
'**************
'** NEW Line **
'**************
Set objBL = CreateObject("SQLXMLBulkLoad.SQLXMLBulkLoad.3.0")
'*************
'** Changed **
'*************
'objBL.ConnectionString = "provider=SQLOLEDB.1;datasource=JMRSQLBI;database=MyDatabase;uid=test;pwd=test"
'**************
'** NEW Line **
'**************
objBL.ConnectionString = "provider=SQLOLEDB.1;datasource=JMRSQLBI;database=MyDatabase;integrated security=SSPI"
'***************
'** NEW Lines **
'***************
objBL.KeepIdentity = False
objBL.CheckConstraints =True
objBL.SchemaGen =...
August 30, 2004 at 9:22 am
James,
Does the text file get generated anywhere on the server? Can you find the file?
August 30, 2004 at 8:47 am
Jean-Marie,
I have done a little with the XML import so I don't know how much I can help - could you post some of the code so I can look...
August 30, 2004 at 8:42 am
Robert,
Try wrapping each Bit field with CINT - sString = CINT(Output field)
August 30, 2004 at 8:39 am
Viewing 15 posts - 196 through 210 (of 223 total)