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 > march 2007

Filter by week: 1 2 3 4 5

SSIS Learning curve
Posted by WebMatrix at 3/30/2007 10:38:03 AM
I need to setup a process that would pull data from different source, compare it to "local" SQL Server 2005 database resolve and update data differences. So, I started new SSIS project, hoping I can figure out things as I go, that's how I learned DTS after all. But I am totally lost. How bad...more >>

Making Decision from within Package- HELP
Posted by Cam at 3/30/2007 8:50:03 AM
SQL Server 2005 Integration Services with Visual Studio 'Integration Services' project. I need the ability to run a package on "Working/Banking" days. I created a store procedure to look in a table to determine if the date passed (Today) is a working day or not. It returns Y or N. I marke...more >>

DTS Pump Task failure 80040005 Code execution exception: EXCEPTION_ACCESS_VIOLATION
Posted by julian_holliday NO[at]SPAM hotmail.com at 3/30/2007 4:36:23 AM
Hi, The tables are only partially loaded before the failure. I'm using DTS to transfer 9 files from 1 ODBC source into 9 Sql Server table. However, to try and avoid these exceptions, I have only allowed 1 task to be executed at a time (within the Package Properties). I am not using any...more >>

Order of rows imported
Posted by SteveH at 3/29/2007 10:04:00 PM
If I use DTS to import a text file into a table that has an identity column and then queried the table and ordered by the identity column, am I guaranteed to get the rows back in the same order they appeared in my import file. I have tested this with a small file and it did, but not sure if...more >>

My ADO.NET 2.0 Provider doesn't work in SSIS Import Export Wizard?
Posted by Simon at 3/29/2007 9:58:02 PM
Hi, I've written an ADO.NET 2.0 provider for our company's database and a Visual Studio DDEX design time support proivder. Everything works well and the documentation supplied on MSDN and samples were excellent. However I can not figure out how to get the SQL Server Integration Services to...more >>

Inserting to a Partitioned view in SSIS
Posted by daniel_barkman at 3/29/2007 11:48:04 AM
I have a Partitoned view that UNIONs 65 underlying tables with the same schema. This was originally implemented in SQL 2000. I upgraded to SQL 2005 Standard Edition and am now trying to write an SSIS package to load data from text files into these tables. Since each file would load into on...more >>

Restoring DTS packages
Posted by bmcons NO[at]SPAM msn.com at 3/29/2007 11:37:55 AM
I am receiving the following error message in restoring and saving DTS packages in SQL Server (SS 2000): "Class not registered" First time I have encountered this issue and will much appreciate suggestion on how to fix. ...more >>

how to change transformations dynamically?
Posted by Test Test at 3/29/2007 9:03:23 AM
Can the transformations be changed "dynamically" during runtime? I plan to set up a single package with two SQL server connections (source and destination) with global variables (using dynamic properties task) for: 1) source server 2) target server 3) stored procedures (runs on the source ser...more >>



SSIS PAckage never completes
Posted by A. Robinson at 3/29/2007 8:42:01 AM
I am encountering a weird issue with SSIS. I have a very simple SSIS package that executes a .bat file. Here's the actual file it executes: @Echo Off c: F: cd ReportingServicesScripts rs -i NoteBlankSnapshots.rss -S http://10.90.160.13/ReportServerTest EXIT The .bat file executes a R...more >>

How to view scheduled dts packages
Posted by Peter from holland at 3/29/2007 12:52:02 AM
Hello, We designed a DTS package in our SQL server 2000 environment. It executes fine, no problems so far. When we schedule the package it works fine on the scheduled time. But when we open the schedule tab at the specified package to view the schedule it seem it resets to a daily cycle at 0...more >>

DTS adds extra character to EXCEL file
Posted by kuidokylm via SQLMonster.com at 3/29/2007 12:00:00 AM
Hello I'm using SQL2000 DTS services to export stored procedure result to EXCEL file. When I open EXCEL file, all the data is prefixed with ' character like 'AAMURUSKO 'PIHKALANKATU How to avoid that ? Kuido -- Message posted via SQLMonster.com http://www.sqlmonster.com/Uwe/Forums...more >>

SQL 2K DTS Called from ASP page fails on Importing text file task
Posted by Paul E at 3/28/2007 2:40:02 PM
The DTS package reaches out to another server on the network to pull in a text file. The DTS package runs fine when launched from Enterprise Manager or if scheduled as a job. It FAILS to import the file when launched from an ASP page. The other tasks in the job run fine (backup and delete f...more >>

Column Transformation - SSIS
Posted by Adam S at 3/28/2007 8:36:03 AM
I have a column containing string data like the following: CORP/EAST/TENNESSEE And I need to transform this data to split out the names using the "/" as the delimeter. I was doing this in Excel using "Text to Columns". Please let me know how I can accomplish this in SSIS. Thanks -- ...more >>

expression builder need DAYOFYEAR or JULIAN Day
Posted by Andy at 3/28/2007 6:48:08 AM
Hello I want to convert a datetime to a julian day. TSQL has a DAYOFYEAR function but SSIS Expression builder does not. Is there a way to calculate the day of the year in SSIS expression builder. For example Today, March 28th, 2007 is the 87th day of the year. I am looking for a functi...more >>

How to set up command to run when the database is brought online?
Posted by PIEBALD at 3/27/2007 7:03:46 PM
I'd like to be able to execute an SQL command automatically when the database is brought online (or attached or the server starts). I assume it'll require DTS, but I don't even know what to ask for in Help. (SQL Server 2005 SP2)...more >>

SSIS Parameters with Multiple Values (For IN clauses)
Posted by Adam St. Pierre at 3/27/2007 6:03:15 PM
Hello, everyone! I'm attempting to develope an SSIS package that uses variables passed to determine selected values. I'm using an OLE DB Source, and passing the query in that source values from paramters. For example: Select * from dbo.Test where Value1 = ? This works fine. Howev...more >>

Importing XML files to SQL Database using SSIS.
Posted by Sachin Chavan at 3/27/2007 5:49:38 PM
Hi, I need to Import an XML file in to SQL Database using SSIS, Plz let me know how do I acheive this. I am quite new to SSIS, So if you can Point me to some samples on importing XML files using SSIS, nothing like that. Any additional references, if any, are most welcome. Thanks in Advan...more >>

Copy a database from Sql Server 2000 to 2005
Posted by Johan Garst at 3/27/2007 5:48:43 PM
Hi, I can't Copy a database from Sql Server 2000 to 2005. I am using the Copy Database option from Management menu. I want to transfer all tables, and all stored procedures. I've tried everything for the past 3 days, and it didn't work. I always get the same error. Below is the error that I...more >>

SSIS Data Flow Precedence
Posted by Competitive Dad at 3/27/2007 3:46:10 PM
This is a long explanation, so apologies in advance!! In a Control Flow I can use precendence constraints to determine how and when things run. However, I've got a need to do something similar in a Data Flow. I have a dataset that I need to perform some work on, as follows: 1. Sample ...more >>

Windows Server 2003 upgrade, ODBC error
Posted by Sanpedro at 3/27/2007 7:49:48 AM
We have just upgraded our 3 main production servers to Windows Server 2003 from Windows Server 2000, these consist of a file server, SQL server and exchange server. We are having problems running SQL jobs that run DTS packages. The error message is as follows :- Error string: DTSStep_DTSDa...more >>

Management studio vs Enterprise manager - accessing dts jobs
Posted by Not Me at 3/27/2007 12:00:00 AM
Hey, I just installed sql server 2005 onto a new machine to play around with it, having used client tools from sql server 2000 on an old machine. I connect to a remote sql server 2000 database and pretty much all the functionality is there using management studio - however I am having issues wit...more >>

Using transactions in DTS
Posted by Kayda at 3/26/2007 1:12:31 PM
I have a pump that does one data pump and then runs a series of sprocs (In Execute SQL tasks) on the data to transform. The transaction file is growing quite large (I don't have access unfortunately to the customer's production server). If the DTC service is not started, that means I cannot use ...more >>

I can't Copy a database from Sql Server 2000 to 2005
Posted by Johan Garst at 3/26/2007 6:23:47 AM
Hi, I can't Copy a database from Sql Server 2000 to 2005. I am using the Copy Database option from Management menu. I want to transfer all tables, and all stored procedures. I've tried everything for the past 3 days, and it didn't work. I always get the same error. Below is the error that I...more >>

Integration Services log report pack - provided by Microsoft - US date format issue
Posted by weelin at 3/26/2007 5:53:31 AM
Hello all, Microsoft provides a report pack of RS reports to use with Integration Services standard logging. The link is here http://www.microsoft.com/downloads/details.aspx?FamilyID=526e1fce-7ad... I have been trying to use these reports in the UK and have come across a problem wi...more >>

Orphaned Users or Lost Public Role Rights?
Posted by Radjammin at 3/26/2007 5:26:56 AM
Greetings, Well I don't think I have an Orphaned User problem but similar. I DTS copied a database to a new SQL Server. It seems that all my user ids have lost public role rights. Why I think this? sp_change_users_login 'report' returns no entries. So I assume that means that there a...more >>

problem on scheduling dts's
Posted by Roy Goldhammer at 3/25/2007 12:00:00 AM
Hello there I have Sql server 2000 SP4. I've just created 2 DTS's that create text files form views on my databases. When i run it from dts managment it works fine But when i scheduale the dts. the job run failed: Access denied what i need to do in order to run it propery? ...more >>

ssis error
Posted by Pierre at 3/23/2007 12:00:00 AM
Hi, I have a SSIS package with sql command for SQL server 2005 and VS2005. First, I create a database in the database Master using the commande USE [master] then I had tables in that new database using the commande USE [new database] and the command USE does'nt work any more. All the tables ar...more >>

ftp
Posted by SAC at 3/23/2007 12:00:00 AM
I have the following in a dts exec task: exec master..xp_cmdshell ftp -i -s:d:\laufer.txt laufer.com I get an error Line 2 Incorrect syntax near "-" This runs OK in a dos batch file. What do I need to change? Thanks. ...more >>

DTS, ASCII and Counter
Posted by Bob at 3/23/2007 12:00:00 AM
Hi, I need to import via DTS a text file with 3 fields into a table with a counter primary key and the same 3 fields. When I execute the DTS, I've got an error saying null values are not allowed for my primary key. But in the Transformations via DirectCopyXform, i haven't selected this the ...more >>

can this dynamic connection be done in SSIS?
Posted by Koni at 3/22/2007 4:03:34 PM
I would like to be able to store connection information (like server name and db name) for Analysis Services as well as SQL server connections for SSIS tasks in an Sql server table and to retrieve them at run time. Any advice?...more >>

Multiple File Connections in Connection Manager
Posted by Tiger at 3/22/2007 11:45:12 AM
Hello All Quick question I have a package that I am developing that is going to have a bunch of connections in connection manager. Lets say the number is 20 just so everyone doesn't go crazy. They are all File Connetions pointing to specific files in a folder. I am creating the package on ...more >>

Dynamic table list ?
Posted by Hutch at 3/22/2007 11:29:05 AM
Has anyone come up with a solution for copying a dynamic table list? I have a source with 50 or so tables my destination has the same schema. Is there a way to create a loop routine to copy the source data to the destination? I really don’t want to create 50 copy routines and then have to m...more >>

Connexion to SSIS
Posted by Cédrick at 3/22/2007 9:22:20 AM
Hi all, I want to connect from a Client workstation to the SSIS engine of my SQL2005 server. But, the only choice of authentication I have is Windows Authentication. Is it possible to change it and use a sql account to log into the SSIS engine? thanks in advance. Regards Cédrick B....more >>

INSERT new RECORDS into a table from another table
Posted by ritesh4uall NO[at]SPAM gmail.com at 3/22/2007 3:53:20 AM
Hi, I am really new to SQL SERVER 2005, i am not even familiar with Creating procedure So what i am trying to do is dump some data form CSV file to a table the following shows the flow of the data base CSV.file --------- > Dump_table ----------> Actual table SSIS ...more >>

dtutil execution results
Posted by Cathryn Crane at 3/21/2007 3:35:31 PM
I'm trying to execute dtutil from xp_cmdshell within a SQL Script and then populate a log table with the results. The frustration I'm having is I only want to insert the actual result such as success or the error message it creates. I can't get around the rows that have the Microsoft info. An...more >>

Slow copies
Posted by Ausias at 3/21/2007 1:32:08 PM
I think I have a problem with the transmission speed of data when doing a DTS between two SQL 2000 SP3a server hosts running Win2K SP4. They have the same updated MDAC versions and I've conducted several tests, including running the SQL Best Practices tool to check server configuration parame...more >>

Server.MapPath in SSIS script task?
Posted by jobs at 3/21/2007 12:48:44 PM
Server.MapPath in SSIS script task? I'd like to read a file (on the database server where ssis is running) into a variable inside my ssis script task. I have a reference to system.IO but get name 'Server' is not declared during compile, so I removed it. Dim FILENAME as String = Server...more >>

script for ftp
Posted by SAC at 3/21/2007 9:17:08 AM
I made a batch file which runs an ftp script. I'd like to put this either into a sp. Not sure how to go about this. Here's the batch file: ftp -i -s:c:\laufer.txt laufer.com > c:\laufer.log It uses this laufer.txt The laufer.txt is: <User Name> <Password> ascii lcd c:\temp cd ...more >>

How do I create a script to add the maintenance plans to sql serve
Posted by victoria at 3/21/2007 9:16:08 AM
I have been looking to see if anyone has written a script to create the maintenance plans in SQL 2005. The previous commands like sp_add_maintenance_plan have all been depreciated. It appears Microsoft don't want you to script the creation. By having it scripted makes it easier to ensure the...more >>

Proper Group for Question on Script Transformation Editor
Posted by Jeffrey Walton at 3/21/2007 8:43:46 AM
Hi All, I apologize for the incorrect post. Anymore, Google performs miserably on Searching (btw, does anyone know what has changed in the algorithm for search results?). When I search for "script transformation editor" (with the quotes), I receive 1 hit - this group. What is the proper gro...more >>

importing a file
Posted by Marie at 3/21/2007 8:31:35 AM
I am attemting to move records from a text file into an existing table in SQL Server 2000. I only want to append any new records to the table, ignoring any records in the file that already exist in the table. But when I try to do this using DTS, it sees the duplicate key and just errors out. ...more >>

ActiveX Script Task Fails
Posted by Adam S at 3/20/2007 4:58:06 PM
The below vbscript enumerates password age on computer accounts in Active Directory which is then output to an xml file. Then entry point on the ActiveX Task is Main(). This script runs fine outside of SSIS, but inside of SSIS as an ActiveX Script Task is generates the error: Package Valida...more >>

SSIS Script Task Error - Unspecified Error
Posted by Adam S at 3/20/2007 4:26:11 PM
I am using the following VB.NET code to pull queries programmatically from an SMS Server and dump the output the an XML file. This data is later used in multiple ways, one of which is dumping to a SQL database. This runs just fine if run by itself, but I would like to be able to run all of t...more >>

Can this be done with SSIS/DTS
Posted by Nancy Lytle at 3/20/2007 1:45:49 PM
Everyday I have to go to a website that displays a page of formatted text information, I then save the page using Save As...txt to a directory on our network. Is there a way I can create a SSIS/DTS package to open that page, save it as a text file and store it in a set network location? Tha...more >>

Running a DTS Job from a stored procedure
Posted by Derek at 3/20/2007 5:37:15 AM
For the last three years we have been running DTS jobs by executing a stored proceder. We now want to upgrade our SQL Servers to Windows 2003 server on a more powerfull server. The DTS jobs will run manually but we can't get them to run using the stored procedure method. The error return...more >>

dtsrun from remote server
Posted by cheilig at 3/19/2007 12:45:31 PM
running DTSRun /S "servername" /N "package name" G/ "packageguid" /E DTSRun: Loading... DTSRun: Executing... DTSRun OnStart: DTSStep_DTSExecutePackageTask_3 DTSRun OnError: DTSStep_DTSExecutePackageTask_3, Error = -2147467259 (80004005) Error string: [DBNETLIB][ConnectionOpen (Conne...more >>

Rowcount in SSIS 2005
Posted by Mitch at 3/19/2007 10:18:03 AM
Hello, I am trying to insert a row count into a log table after a bulk insert is performed. I have put in the Row Count transformation task, storing the value in a user variable, RowCount. At the end of the bulk insert, I am executing T-SQL, creating an index, other stuff, and then I want to...more >>

Importing from Excel
Posted by Ant at 3/18/2007 7:27:00 PM
Hi, I'm a Newbie to DTS who needs to import data from an excel spreadsheet into SQL2000. When I use the import Wizard, the tables to be imported (sources) include all the pages from the excel spreadsheet as expected, however an extra source for each page is shown with the same name plus a $...more >>

SQL Server 2000 - Parameters in a Transform Data Task
Posted by Bob at 3/16/2007 1:55:34 PM
I need to create a text file with data from a table. No problem, I've done that before. Then I discovered I need to select rows based upon a parameter. Still no problem, I know how to pass parameters to a DTS package with DTSRUN. I created a package with: 1) A global variable to contain the ...more >>

Newbie looking for advice on method of importing Excel workbook with group and detail records on first worksheet
Posted by kbutterly at 3/16/2007 11:44:13 AM
Good afternoon, all, I have an Excel workbook that needs to be imported. It has three sheets, but it's really the first that is giving me fits. Each of the three worksheets have header info and instructions on the first 8 rows. Worksheet 1 then has, on row 9, the column names for the group ...more >>


DevelopmentNow Blog