Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007


all groups > sql server dts > may 2007 > threads for may 8 - 14, 2007

Filter by week: 1 2 3 4 5

Another DTS Scheduling question
Posted by skyetech at 5/14/2007 2:26:18 PM
SQL 2000 on Server 2003 I've created 8 different DTS packages and scheduled them by right clicking on them. 6 of them work fine. However, 2 of them get the same error when the job is run (they run fine if I right click on the package and select 'Execute Package'). Here's the error: DTSRun: ...more >>

Trim Blanks in a SSIS Package
Posted by Matt at 5/14/2007 1:49:01 PM
I'm using SSIS to bring fixed width files into the database. After the package runs the data has blank spaces at the end of it that need to be trimmed so "John Doe " would become "John Doe". What is the best way to trim the blanks when using a SSIS package to do the insert? Thanks, M...more >>

ActiveX
Posted by Gallardo at 5/14/2007 12:26:03 PM
Instead of writing "Hello" I want it to read a value from a cell in the excel sheet I am running this from. The code is in VBA: Public Sub oCustomTask1_Trans_Sub3(ByVal oCustomTask1 As Object) Dim oTransformation As DTS.Transformation2 Dim oTransProps As DTS.Properties ...more >>

DTS Import Record Update Trigger.
Posted by Jim Moberg at 5/14/2007 9:42:01 AM
Hi, I am new to using DTS and just created my first DTS package that imports a text file into a table. The package works fine and now I have to add a trigger or equivalent that will do the following: 1. For each record where the member number doesn't already exist insert the record int...more >>

SSIS Jobs blocking each other
Posted by Bunty at 5/14/2007 5:40:01 AM
Hi, I have 20+ jobs running which loads and executes SSIS packages. The problem I am facing is that after few days they start to block each other and after removing blocking by looking into output by sp_who2 and "Select * from master..sysprocesses" they start working properly for few days. ...more >>

Creating a Job in SQL Server Agent 2000 to Run a DTS Package
Posted by UncleMonkey at 5/14/2007 3:11:03 AM
I am trying for the first time to create a job to start at a specific time to start a DTS package. What I need to put in the Type and Command when creating a job step. Or is there an easier method?...more >>

How does ActiveX work with DTS
Posted by Gallardo at 5/14/2007 2:22:02 AM
Hi I have recorded a DTS package in Enterprise manager. I paste the code into VBA. However I do not understand how the program works. I am trying to cutomise it. I think I can get around VB but how does the activeX scripts work in VB. When are they executed? ...more >>

Can I call a Script Task from other Script Task?
Posted by Sachin Chavan at 5/12/2007 3:04:01 AM
Hello, Can I call a Script Task from Other Script Task? Actually, what I am trying to acheive is: I have a piece of code Like some Functions that I keep using over n over in all of my script task e.g. functions for Reading n Writing Package Variables and Instantiating some .Net Objects....more >>



Transform with conditions
Posted by bringmewater NO[at]SPAM gmail.com at 5/11/2007 7:53:21 AM
I'm trying to transfer all records from Database A Table1 to Database B Table1 getting only the records that are not currently in Database B Table1. I have a primary key (Key1) that is in both. So basically if this primary key does not exist in Database B Table1 then import the record. How ...more >>

bcp ing a table
Posted by Doni Devito at 5/11/2007 12:29:43 AM
hi, I had to insert huge amount of data from one table to another. Im doing this 3-5 times a day and I had to do it in stored proc. In one insert Im copying 2-3 millions rows. I HAD to use stored proc. 1.Im selecting a recordset from 4 tables. 2.Insert them to a table. 3.Table has 2 columns....more >>

Copy SQL Server 2005 Express database to SQL Server 2000
Posted by Angus at 5/10/2007 6:42:10 PM
Hello I have a copy of a SQL Server 2005 Express database - the mdf and .ldf files. If I copy to my machine and in the Enterprise manager try to attach the files I get error 602 - and apparently you cannot do this as the database structure has changed so much. Bearing in mind SQL Server 20...more >>

Disconnecting a connection inside of SSIS .NET script task
Posted by vnapoli at 5/10/2007 1:16:01 PM
How does one drop / close a connection from inside a SSIS .NET script task? I have a long running package (i.e. 12-18 hours) that extracts data from an Oracle Datawarehouse, and populates a data mart in SQL Server 2005. The Connection manager properties for the oracle connection has Re...more >>

Multiple source columns into one destination column transformation
Posted by Wade.Graunke NO[at]SPAM gmail.com at 5/10/2007 9:21:46 AM
I'm trying to map two source columns into one destination column but it won't work. Basically my source is a CSV file that has an Area Code field and a Phone field. I want to combine them into one field for the destination sql table of my DTS job but it won't take. 'The following doesn't wor...more >>

Blank DTS Packages - recovers with reboot
Posted by lowrykoz at 5/10/2007 9:08:05 AM
I have an odd problem I have been assigned to debug and am having no luck finding anything online that is even close. Maybe someone else has had this issue. We have a windows 2000 box on sp 1 with Windows 2000 sp 4. One of our developers discovered that every 3 weeks or so his dts packages ...more >>

Calling Web Service From Script Task
Posted by Kiran at 5/9/2007 10:47:14 PM
Hi All, Is there any way that I can call a web service inside a Script task in SSIS package? I'm not able to add Web reference inside the script task :( I know a liitle abt the Web Service task, but I want to pass a XML Document as parameter to web service and the script task is creating th...more >>

>> Manual DTS
Posted by Jonathan at 5/9/2007 8:56:00 PM
Hi, what script will I use for the OnClick event of a button in an Access front-end to run a DTS package (on demand)? Many thanks Jonathan...more >>

>> Export DTS Package
Posted by Jonathan at 5/9/2007 8:39:00 PM
Hi, how is it possible for me to export a DTS package so that I can send this example to another site so the administrator can use it? Many thanks Jonathan...more >>

Day of Week
Posted by JasonB at 5/9/2007 9:39:01 AM
Hi, I've been struggling with returning a day of week number. I want to return a 1 for Sunday and a 7 for Saturday. I thought this would be easy with a derived column task and using the DATEPART function with "dw" as the parameter. However I've found that this method is Language dependant, ...more >>

Hoe to Pass DataSet as a Parameter to the SSIS WebService Task?
Posted by Sachin Chavan at 5/9/2007 8:20:03 AM
Hi, I am Calling a Web Service using SSIS Web Service Task, this web Service is accepting a dataset as a parameter. How do I pass a Dataset as a parameter to the Web Service usin Web Service task??? I am generating this Dataset by calling a .Net Code in the Script Task. Can I collect thi...more >>

SSIS right click - variables -> displays blank grey area
Posted by adolf garlic at 5/9/2007 7:47:02 AM
In either 'control flow' or 'data flow' if I right click on the design surface and select variables, I am presented with a blank grey tab to the left. Is this meant to happen? Surely there should be something on the tab or is this minimalist development gone mad? ...more >>

Duplicate name error after copying task/ VS_ISCORRUPT
Posted by adolf garlic at 5/9/2007 2:35:00 AM
After copying a task from another package, I am getting a validation error regarding a 'derived column' data flow component. The error is as follows Error 2 Validation error. Underlying updates: DTS.Pipeline: The package contains two objects with the duplicate name of "output column "Und...more >>

Different values for the same data using DTS
Posted by Irvine, Dennis at 5/8/2007 5:10:23 PM
Newbie here, so please be patient. I am trying to import data into an SQL 2000 table from an ODBC source. If I use a program like WinSQL I can query the source database and get correct data just fine. But with DTS activex scripts, the transformation process returns incorrect values for ...more >>

SSIS Help...
Posted by rlrcstr NO[at]SPAM newsgroups.nospam at 5/8/2007 5:09:55 PM
I feel like I'm losing my mind. I can write code in 7 different = languages, but I can't figure out how to create an SSIS package to do = the following: Table A, 6 columns: EmpID, Code1, Code2, Code3, LocationCode, = ScriptPath Table B, 5 columns: Code1, Code2, Code3, LocationCode, ScriptPa...more >>

auto start a dts package by placing a file in a folder
Posted by Schuml at 5/8/2007 12:22:01 PM
I need a way to execute a sql dts package when a file is placed into a directory. Essentially this would be like a file system Monitor or file listner that would be waiting for a file as soon as the file is in the directory it would read from the flat file and then execute a package ...more >>

Need data pump tasks only from Tasks collection
Posted by WebSnozz at 5/8/2007 12:19:26 PM
I have the below code in an ActiveX Script task, but when it encounters a task that does not have the SourceConnectionID property, then it bombs out. So I need some way to either dynamicalky determine if that property exists on the task, or just get a collection of only Data Pump tasks. I'm no...more >>

Can u plz Compare n Contrast betn 2 Codes 4 Variable Reading/Writi
Posted by Sachin Chavan at 5/8/2007 10:45:01 AM
Hi, Can u plz help me with the Compare n contrast betn these 2 codes for reading n writing Variables in Script Task. Code #1: i) Read Variable: Dim vars As Variables Dts.VariableDispenser.LockForRead(varName) Dts.VariableDispenser.GetVariables(vars...more >>


DevelopmentNow Blog