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 > july 2006 > threads for july 8 - 14, 2006

Filter by week: 1 2 3 4 5

#Tables and DTS
Posted by ricky at 7/14/2006 4:03:57 PM
Hi Is there a reason, why I wouldn't be able to transfer/export data, derived from #Tables, in DTS? Incidentally, the final query in the SP, is made up of a UNION statement, should this also be a factor? Kind Regards Ricky ...more >>


SSIS Lookup Transformation Performance Problem
Posted by Chris at 7/14/2006 2:36:01 PM
SSIS Have 8 million record table that my lookup transform is using, problem seems the entire table is loaded into cache before the task begins. This of course brings my ssis server to it's knees. Played with 'Enable mem restriction' on Advanced tab, this just limits the rows brought into...more >>

SSIS Import of Excel Data - Unexpected Results
Posted by jenileo at 7/14/2006 1:14:55 PM
I am having an issue with importing Excel Data into my SQL 2005 Table. My first issue was the inablity to import mixed data types. Upon research I implemented to the following: In SSIS added IMEX=1 to the datasource string Modified Registry TypedGuessRows=0 Formated Column as Text This res...more >>

Dynamically changing server (destination) properties
Posted by kiss deez at 7/14/2006 12:42:52 PM
I am experiencing a problem when using a .UDL file to change the SQL server / database settings. Scenario: ------------- I am importing data through the use of a Text File Connection. The text file name may vary. The destination is a SQL 2000 server. I have a process table defined which h...more >>

Load if not exists
Posted by Chris at 7/14/2006 11:08:02 AM
In SQL 2005 SSIS - how would I be able to load data into a oledb destination table only if the record does not exist? I could load the data into a staging table then call a sproc to do an insert using a left join where dest_table.pk is null, however I prefer not to manage a staging table ...more >>

flatfile -> delimits -> extract and manipulate -> database
Posted by emailcurry NO[at]SPAM gmail.com at 7/14/2006 8:54:28 AM
Hello everyone, I'm a beginner in SSIS and DTS stuff. I have tried to make a package to - create flat file by executing a process - port it to data flow control where it delimits it and sents it to a database through oleDB connection. I'm using SQL Server 2005 Now I want to add on to thi...more >>

destination file with three different rows with different number of column and column size
Posted by Dipa at 7/14/2006 2:50:00 AM
I have three Stored Procedures in DTS, in which first stored procedure is writing header row in destination file with four column. Second procedure writing data into the destination file with 15 columns Third stored procedure writing trailor row in data file with 4 column. problem is if i map ...more >>

SQL Mail Task - may run it by table trigger and send email with insert information?
Posted by Dmitry N.Ananyev at 7/14/2006 12:00:00 AM
SQL Mail Task - may run it by table trigger and send email with insert information? Is it possible? Are anywhere examples? ...more >>



SSIS: package configuration
Posted by luk at 7/14/2006 12:00:00 AM
Hello, I have tried to create configuration XML file and it is working, but when I am trying to put configuration parameters into SQL table I have nothing in configuration table. I am using configuration wizard and I have no errors. What Am I doing wrong? Regards Luk...more >>

Load if not exists
Posted by Chris at 7/13/2006 4:38:37 PM
What is the best way to load records into a destination only if the pk value does not exist? tia chris...more >>

How do I use a variable in the TO feild of the SSIS Send Mail Task
Posted by Arghknork at 7/13/2006 1:58:02 PM
I want to use an Execute SQL Task to load an email address list from a table and use the variable as the TO field in the Send Mail Task. Got the list into a variable okay, but can't figure out how to make it work as the TO in Send Mail. Any ideas?...more >>

Transformation problem
Posted by birdbyte NO[at]SPAM gmail.com at 7/13/2006 11:01:08 AM
I'm trying to set up a dts package that will eventually run automatically every day. A sql query gets the data and formats it as a string and dumps it into a text file. It also concatenates a variable (that is not part of any table) to the beginning of the string. When I run the query in sql it ...more >>

DTS Commit question
Posted by mvp at 7/13/2006 8:46:02 AM
I have created a DTS package which transform rows of one table from sql server to oracle. What happens is while transforming rows, if there is a error occured at 2100 row, It still writes 2099 rows into oracle table..how can i avoid it ? I want to write everything or nothing ? Pls let me...more >>

6-7 days to Load Data
Posted by MikeV06 at 7/13/2006 8:12:11 AM
I am importing a flat file consisting of variable length records terminated by {CR}{LF}. The record sizes vary between 65 bytes and 79 bytes (the last field is a variable length name field). I am reading in the record as a single field and then using a modification to the Transform VBScript to l...more >>

SSIS File System Task Error
Posted by wolf.emissar NO[at]SPAM gmail.com at 7/13/2006 7:27:34 AM
Hi, I am trying to use a File System Task within a SSIS package to copy and rename a group of files. When I run the package from the Visual Studio GUI it completes with no errors. However when I try to run it via a SQL Server 2005 Job it fails with the following message: The task "File Syste...more >>

SSIS Column Mapping Problem
Posted by Jason at 7/13/2006 7:04:02 AM
I am trying to transfer some AS/400 data into SQL 2005 using ODBC connection and "DataReader Source". In "DataReader Source", a SQL command has to be specified, for example, "select a,b from tbl". I understand I have to use "Data Conversion" to convert the default "unicode"(AS/400) to "non-u...more >>

Windows service crashes on DTS dll
Posted by Natasja at 7/13/2006 4:57:02 AM
Hi, I've got a windows service that creates a DTS task at runtime to export data to textfiles. After a certain time the service always crashes and gives this error in the eventlog: faulting module dtspkg.dll, version 2000.80.2039.0, fault address 0x000beb9c. Any ideas what this error...more >>

SSIS: raw file destination and writeoption questions
Posted by Gerald Aichholzer at 7/13/2006 12:00:00 AM
Hi, I'm using a data flow task having a raw file destination in a foreach loop. Basically it looks like this: file system task: delete raw file foreach .... data flow task: import data to raw file The raw file destination's write option is set to 'create once'. According to t...more >>

what does "dtsrun /servername/packet /e" mean?
Posted by Mint at 7/12/2006 7:14:11 PM
i only want to know /e. can anyone tell me ? thanx ...more >>

SQL Statement in Active X not working
Posted by javathehutt at 7/12/2006 6:54:10 PM
I put a SQL Statement in my ActiveX and I can't get the correct Textbody to be sent. The Sql Statement returns a 1 in query analyzer. However, when the email is sent from this DTS Task, it returns "No Errors Found" and there are no file attachements. Any pointers on where I am going wrong h...more >>

Importing Variable Length Flat File
Posted by MikeV06 at 7/12/2006 1:23:46 PM
I have a large text file (3.5GB) that I need to import. Each record is terminated with a CR/LF. However, the length of each record varies (60 characters to 79 characters). The last field in each record is a name field that is not padded with blanks at the end. My different attempts to copy thi...more >>

Design help
Posted by Kevin Yu at 7/12/2006 10:18:59 AM
hi all, I have 5 source data that contain a table with exact schema, now I need to load data from all 5 database into one staging database table. I have created one ssis package that load data from one database, then I use dts object on my C# code to load and modify the connection and vari...more >>

DTS transaction
Posted by mvp at 7/12/2006 8:06:01 AM
I have created a DTS package which transform rows of one table from sql server to oracle. What happens is while transforming rows, if there is a error occured at 2100 row, It still writes 2099 rows into oracle table..how can i avoid it ? I want to write everything or nothing ? Pls let me...more >>

ActiveX Transformation - beginner
Posted by MacChojnacki NO[at]SPAM googlemail.com at 7/12/2006 3:26:32 AM
Hi, I have a small problem with tranformation. The code is: Function Main() a = DTSSource("ConfQuantity").value if DTSSource("CancelledConfirmationCounter") = 0 then DTSDestination("ConfQuantity")=DTSSource("ConfQuantity") else DTSDestination("ConfQuantity")= a *(-1) end if Main ...more >>

Faulting application dtsrun.exe, version 2000.80.534.0, faulting module mscorwks.dll, version 1.1.4322.2032, fault address 0x00097090.
Posted by jjxjjx at 7/12/2006 2:21:02 AM
Hi, we have mssql 2000 SP 4 and one DTS with 2 c# custom tasks 2 vb6 custom task We have problem that DTS can be executed normaly by right click on DTS and execute, also task can be runned normaly by right click on Job an Start Job Job is scheduled to run every 1h, but afther 4-10 ru...more >>

how to run a dts in a trigger
Posted by Mint at 7/12/2006 12:34:25 AM
can anyone help me ? thanx ...more >>

Emailing within DTS package
Posted by ngorbunov at 7/11/2006 7:32:50 PM
I need to create a DTS package that sends out an email based on a query. Query: [code] SELECT @Count= count(*) FROM employee WHERE site = 1 [/code] If @Count=0 I don't want an email to be sent. If @Count>=1 then the email should be sent out. How do I set up the package to reflect this?...more >>

Is this possible with DTS?
Posted by Chris at 7/11/2006 6:52:01 PM
Hi, I am able to execute a DTS package from a stored procedure just fine using the login credentials from SQL Server. How can I, in the stored procedure, change the identity to that of a WINDOWS LOGIN TO EXECUTE THE DTS PACKAGE?. You see, I am using the MSMQ in DTS, but, my queue is on a remo...more >>

Update same row in DTS
Posted by Monu at 7/11/2006 10:59:13 AM
I am new to DTS. I have one table which has password column in it. I would like to create the password from username.I one function which depends on the value of username. The return value of this function should be the password. I would appreciate if anybody can help me out finding the DTS so...more >>

DT_Numeric and DT_UI8 not supported - bug?
Posted by Rob Schieber at 7/11/2006 10:47:36 AM
Hello, Im trying to execute an XML Source task to SQL Server Destination. SSIS Creates a column [[ElementName]_Id] and makes it a type of DT_Uint8 - an 8 byte signed int. SQL Server doesn't seem to know how to convert this to big int, or even the default DT_Numeric that it sets up for the...more >>

sql2005 : dts package
Posted by soonyu at 7/11/2006 3:08:02 AM
I just using migration wizard in legacy->dts to import wizard from sql2000, it show successful. but where can i can the import dts? Can't find anywhere.. need advice soonyu...more >>

how to use DTSGlobalVariables in DTS Execute SQL Task
Posted by Mint at 7/10/2006 11:14:49 PM
for example:get a rowcount to the DTSGlobalVariables and then check it in the ActiveX script. could any one help? thanx ...more >>

DTS Referencing Excel Cell Value Fails
Posted by javathehutt at 7/10/2006 5:22:22 PM
Hi I get a 'Object not supported error xl_app.Workbooks.Worksheets" when I add this line in the program: "If xl_app.Workbooks.Worksheets("Results").Range("A2:A2") is Null then" The sample code I am running is Function Main() 'References to Excel dim xl_app ...more >>

Dynamically change For Each Loop
Posted by Michael at 7/10/2006 3:48:01 PM
Hello, I would like to modify "Files" attribute of the Foreach Loop of type File Enumerator. This attribute is used to set the mask (for example *.txt) to specify which files to include in the selection. I need to be able to change this mask dynamically depending on package global variabl...more >>

Parellel execution of steps.
Posted by ChrisR at 7/10/2006 11:05:03 AM
SQL2K SP4. Howdy all. I've got a package that imports 7 .txt files into 7 different tables. When running the package, they say "Started" next to them, but the amount of rows shown imported next to "Running" only goes up in 1 table at a time. It is not until Table1 is completely imported tha...more >>

Problem with transactions in SSIS
Posted by Martin Schou at 7/10/2006 7:51:02 AM
Hi I have a sequence container with TransactionOption = Required. In this container there is a number of task with TransactionOption = Supported and they therefore join the transaction started by the sequence container. This all works fine. Outside this container I have another task, w...more >>

Output vars
Posted by Philippe at 7/10/2006 6:03:02 AM
Hi, I've got a SQL taks in DTS 2000 and a global var with a float number. I try to get the value of the parameter in the SQL task: declare @Total float update KPI set value=@Total where code=123 When I hit "Parameters" to map the variable, I get a message: Query does not contain any pa...more >>

How can i send an alert email
Posted by Mint at 7/9/2006 11:05:18 PM
i want to make a package, that it can get how many rows in a table. when the table get a new record. the dts will send an alert to the admin, or the record deleted, it will also send an alert to the admin. how can i do it. please give me some advices. thanx. ...more >>

SSIS On Its Own?
Posted by Kayda at 7/9/2006 6:55:12 PM
Hi: I've been using DTS for awhile and soon will start using SSIS in SQL Server 2005. I liked DTS as an ETL tool and imagine I'll like using SSIS. Unfortunately when I work with customers who don't have SQL Server and aren't interested in buying they don't want to buy an entire SQL Server lic...more >>

Copy Database problem?
Posted by Micke Andersson at 7/8/2006 12:22:35 AM
I am trying to copy a SQL Server 2005 DB from one machine to another, but everything I try fails. The standard "import data" or "export data" that I used back in the SQL Server 2000 days now skips indexes and auto-id fields, despite me saying to it that it should copy that. So I tried the "...more >>


DevelopmentNow Blog