all groups > sql server dts > july 2006 > threads for july 22 - 28, 2006
Filter by week: 1 2 3 4 5
Server & DTS question
Posted by Blasting Cap at 7/28/2006 5:21:09 PM
We're having to move SQL to a new server, which must be a new name.
Previously, I had been using an old name, and when the server was
replaced, we just gave the new one the old one's IP and name when we
brought it online.
Is there a way though, for me to make DTS and jobs in SQL "portable"... more >>
DTS Books
Posted by wnfisba at 7/28/2006 2:38:01 PM
Does anyone have any suggestions for a decent DTS book for a beginner that
explains the product in pretty good detail that would enable me to utilize
and get up to speed pretty quick with a decent index so that I can use it as
a reference as well???
Any suggestions would be GREATLY apprecia... more >>
SSIS: system variables with same name & scope?
Posted by jcorning NO[at]SPAM gmail.com at 7/28/2006 2:36:14 PM
Hi all -
Running into a problem with SSIS and a google search doesn't yield much
help.
I have a package with multiple tasks and about 10 OnError event
handlers defined (one for each task). I need to go in and change the
System::Propogate variable for some of the event handlers to make sure... more >>
Converting Flat File Source dates
Posted by Dave Booker at 7/28/2006 12:51:01 PM
I'm using an "Integration Services Project" / .dtsx package to load CSVs into
my SQL Server 2005. Many files represent dates as "YYYYMMDD", and I want to
convert those to feed a SQL "smalldatetime" column. How do I do that?... more >>
Spreadsheet totals
Posted by Blasting Cap at 7/28/2006 12:08:43 PM
I have a query that I need to do subtotals on. The query is as follows:
select
ba,
rg,
sum(order_qty) as oqty,
sum(order_val) as oval
from sales_ord_curr_yr a
inner join sales_product on
sales_product.prod_cd = a.prod_cd
inner join tblproducthierarchy on
sales_product.level_1_1 + sales_... more >>
SSIS SFTP connection.
Posted by Soung at 7/28/2006 9:00:02 AM
I need to connect SFTP site to download data file. Is there any way I can
create a Secure FTP task in SSIS. If there is what is the best way to do.
If SFTP not supported natively in SSIS then is there any their party tool
that I can use?... more >>
Use SSIS for split rows in columns
Posted by Anja at 7/28/2006 8:22:02 AM
Hi,
I've many rows and I want to split them in many columns, with SSIS.
I've this scenario:
INPUT TABLE
id date
--------------------
1 2006-02-04
1 2006-03-08
1 2006-10-15
2 2006-03-07
2 2006-09-17
OUTPUT TABLE
id date1 dat... more >>
2000 DTS package error task...was not found
Posted by Peter at 7/28/2006 7:09:02 AM
Oracle 10 import DTS package with 11 tasks, 1 task per table. Yesterday I
added more tasks after this package has been working for a month. There are
2 tasks (Delete from existing table, transform Oracle to SQL Svr table), 2
connections (Oracle, SQL Svr 2k) and 1 workflow "on completion" aft... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
odd problem with DTS from Excel -> SQL
Posted by peter walker at 7/28/2006 12:19:15 AM
Hi everyone,
I have a problem with a DTS process which imports from excel to SQL. I have
tried this dts process on both SQL 2000 and SQL 2005, and they appear to
both be behaving the same odd way.
The DTS process never is able to pick up any data residing on row '1' of the
excel spreadsh... more >>
how to schedule dts package to run
Posted by Jennie Pao at 7/27/2006 3:57:47 PM
Hi,
I am new to DTS world. I was able to save a dts package (in local packages)
and execute it manually without problem. I am trying to schedule it to run
daily but nothing happened on scheduled time. Could anyone please point me
out? Where can I check the log? Thanks.
... more >>
Help with openrowset in task
Posted by dw at 7/27/2006 2:59:00 PM
Hi. Here's what I need to do in a DTS package and don't know how: Insert all
the values from an Oracle view into a SQL Server 2000 table where the value
from the source doesn't exist in one of the columns of the destination
table. Thanks.
... more >>
DTS package execution time
Posted by clawdaddy NO[at]SPAM gmail.com at 7/27/2006 10:43:13 AM
Hi - I currently have a DTS package that takes raw data from a SQL
table and inserts records into several tables via a custom ActiveX
transformation. The package uses logic to determine which table to
insert into and then calls DTSlookups to perform the inserts. The #
of records I'm working w... more >>
Child Package Fails when not all child steps are run.
Posted by miguel.salles at 7/27/2006 8:14:04 AM
Hi,
SQL 2000 SP4 DTS
Windows 2003 Server sp1
We have two diferent packages (parent and child) to load text files.
The child package has a condition node that decides if all steps should
be run or only the mandatory ones (the process checks the number of
files to be processed, if it is = 0 th... more >>
SSIS Import Wizard Errors
Posted by Janet at 7/27/2006 6:16:01 AM
Installed an upgrade from 2000 sp4 to 2005 sp1. Trying to import simple flat
file of 30,000 records but getting error that told me nothing. Somebody
suggested installing SP1 on my local machine to get better error reporting,
which I did. Now the error is a truncation error. However, in the... more >>
DTS Transformation Error
Posted by rgn at 7/26/2006 12:18:02 PM
Hello All,
I come from a DBA back ground. So, I'm a new to DTS programming and VBScript
programming though I'm reasonably familiar with the DTS UI.
I was going through Ken Henderson's book and Wrox book in the hope of
learning DTS programming. I was going thru the "Parameterized DTS Packag... more >>
Can't Import numeric field from Foxpro to SQL using DTS
Posted by Frank Ford at 7/26/2006 8:57:02 AM
Using DTS, I am trying to import a numeric field (5,3) in Visual Foxpro into
a field in a SQL table, but keep getting this not-very-helpful error message:
"Error at source for row # 12. Multiple-step OLE DB operation generated
errors. Check each OLD DB status value, if available. No work... more >>
Bulk Insert Task Special Characters
Posted by airam at 7/26/2006 7:22:36 AM
Hello,
I have a Bulk Insert Task to load records from one text file to a SQL
Server database table.
My problem occurs when the input text file has some special characters
like '=E1' or '=F1'. After executing the task, the corresponding
row in the database table contains symbols like '=DF' i... more >>
SSIS package to export linked tables
Posted by Nigel at 7/26/2006 5:52:02 AM
Hallo Everyone,
I have parent- child tables that I would like to transfer from one SQL 2005
database to another SQL 2005 database using SSIS. The parent table has a
primary index with a seed=1 and autoincrement=1. The Child table uses the
parent primary index as a foreign key. I have anothe... more >>
DTS Lookup in DDQ failing on datetime comparison
Posted by sebt at 7/26/2006 4:57:09 AM
Hi
I have a Data Driven Query task including a lookup. If the lookup
returns anything, then the Update query should be run - otherwise, skip
row.
My ActiveX transformation looks like this (in part):
MatchCatID=DTSLookups("LkpMatchingMDSCatalogueRow").Execute(DTSSource("MDSCatID"),DTSSour... more >>
refresh excel workbook with active X task
Posted by Fred at 7/26/2006 4:15:02 AM
I have created an active X task to open, refresh, and save an excel workbook
prior to mailing it in a send mail task. When I execute the step, I get a
dialog message that "This action will cancel a pending refresh command.
Continue?" Even if I select OK, the workbook does not update, but th... more >>
Copying SQL2005 Db to SQl2000
Posted by Neal at 7/26/2006 2:48:01 AM
Hi All,
I tried to upload my clients 2005 db to my webhosting site (MSSQL 2000) and
....
"Error: The destination server is not 2005"
Surely this can't be, no backwards compatibility??
there must be a way,...? (And no way am I purchasing 2000 just for this!,
then manually re-creating th... more >>
Need help with ActiveX Script!!!
Posted by B. at 7/26/2006 12:16:12 AM
am totally new to VB and i have just started to learn it. I am stuck
at the very basics so i would really appreciate any help.
What i need to do is transfer the information from an Excel file to a
SQL server table via a DTS package by copying columns. During the
transfer i need to perform some ... more >>
SSIS - SQL Server Agent - Set Value?
Posted by Doownai at 7/25/2006 10:48:04 AM
Hi,
I have created a simple package that returns success or failure based of the
existance of a file. The package accepts uses 2 variables varPath and
varFileName.
When I use an XML config file to set the values everything is hunky dory
(that means good ;-)).
What I would LIKE to do ... more >>
String Concatenation
Posted by Jim at 7/25/2006 9:56:02 AM
I'm pretty new to SSIS, and I'd like to be pointed in the right direction to
achieve a problem I've hit a brick wall with. I would like to concatenate a
set of strings, but not across columns, but down a row - a String-Aggregation
like function - and create a new column with the output.
... more >>
Urgent: File Attributes then import
Posted by Jason NO[at]SPAM SCA at 7/25/2006 9:54:01 AM
In SQL 2005, what's the best method to import a file(via an SSIS package or
DTS
that would have a schedule) if that file:
1) Exists
2) Is not empty
3) Is New (and by new that would be newer than 3 days old)
We previously had an activeX script that ran but took advantage of
xp_getfiledetai... more >>
Global Variables and Script Task
Posted by Jeanine Carroll at 7/25/2006 8:47:03 AM
I am trying to set the value of the variable User::ErrorMessage dynamically
using the Script Task. I would like to construct an error message containing
carriage returns for use with a Send Mail Task.
ReadOnlyVariables :
User::DWAuditStepDescription,System::StartTime,System::EventHandlerSt... more >>
DTS Step Fail Vs SQL Job
Posted by SQL Replication Guy at 7/25/2006 8:00:02 AM
I have a DTS package which has two data transformations tasks-
If 1st data transformation task fails then package executes the 2nd data
transformation task and subsequent sql steps.
Here is the problem I am facing - When I schedule this package as SQL job,
it shows as failed everytime 1st ... more >>
Using a wildcard with the FTP Task
Posted by Jason at 7/25/2006 7:39:02 AM
Does anyone know if a wildcard can be used in the Source File Name when using
the FTP task in DTS? I need to logon to a remote FTP server, and pull all
files down to a directory on another server. I tried to create a .BAT file
to do this, but I couldn't get it to write the files to another s... more >>
ActiveX in DTS SQL 2000 defining Exception file
Posted by stainless at 7/25/2006 12:05:22 AM
I have a couple of questions regarding a package I am writing. Hope you
ca help:
1. I have a "Transform Data Task" that is moving fields from a file
directly into a table. There may be exceptions regarding fields that
cannot be null, non-numerics to integers, etc.
Thus, it is worth catching... more >>
Help needed for creating a SSIS data transfer package
Posted by Steen Persson (DK) at 7/25/2006 12:00:00 AM
Hi
I need to update a table in our datawarehouse, with new records from our
production system, but I've problems creating an SSIS pacakge to do this.
Basically I just need to find the company records in our production that
doesn't exist in the Datawarehouse.
In the package I've created, I h... more >>
Variable width fixed width text files
Posted by Conan Kelly at 7/24/2006 11:04:19 PM
Hello all,
You all are probably going "HUH?!?!?!" by the subject line. Yeah, I know, a contradiction in terms.
We have a client sending us data in fixed width text files--one month per file. The problem is that the width of each file varies
from month to month. For example, in July & Augu... more >>
Use format files in DTS
Posted by aps at 7/24/2006 3:14:27 PM
Hi
I am new to DTS. I am creating a DTS package which imports data from a
text file to a table in the database. I need to define a format file. I
have alreay created the format file based on the destination columns in
the table.I just need to know away to use it in DTS.
Ex: Source file... more >>
dtsrun utility with only windows authentication.
Posted by kpraoasp NO[at]SPAM yahoo.com at 7/24/2006 12:47:10 PM
Hi,
I am trying to run the dtsrun utility in a "Windows only"
authentication mode. For the -U and
-P option, i am providing my network user id (domainname\userid) and
network password. However I get an error saying that "Error string:
Login failed for user LOCALNETWORK\KRAO'. Reason: Not as... more >>
SQL 2000: Problem running DTS as sa
Posted by Ray Booysen at 7/24/2006 12:01:47 PM
Hi
I'm running a simple copy database objects DTS between two databases on
the same server as sa.
However, right at the end of the dts, I get the following error:
SETUSER Permission denied in database 'XXX'
where XXX is the destination database.
Any ideas?
Regards
Ray... more >>
DTS Package, XML task. Read XML file and store it in package variable.
Posted by Victoria at 7/24/2006 11:53:18 AM
I am creating a package using SQL Server 2005 Integration Services.
I have .XML file where is stored Path of MS Access file.
I want "XML task" to read this .XML file and store Path value in the
package level User::AccessPath variable. My construction does not work.
If anybody knows why, please, ... more >>
Dynamic Column Mapping in DTS
Posted by Monica at 7/24/2006 7:58:13 AM
I am creating a "GENERIC package" in dts 2000 that will use a dynamic
connection string from user input.
Since the source table can be different every time, I need to delete
existing transformations, which I did using an AciveX script task, now
I would like to create dynamic column mapping in... more >>
DTS Send Mail Task "alters" the file attachment filename
Posted by LohtyLoht at 7/24/2006 7:36:02 AM
When I use a DTS Send Mail task to send an email with a mail attachment (
"testfile.txt" ) to a non Outlook mail client it is appending the path to the
file name resulting in attachment names such as:
__File01_SharedFiles_Paul_testfile.txt
is there a way to prevent this from happening?... more >>
Running an SSIS package remotely from code
Posted by Peter Wood at 7/24/2006 1:31:01 AM
Hi -
I am porting a system from DTS to SSIS. The old version runs packages
programmatically loading and running a DTS.Package2 object. I can load and
execute and SSIS package using the Microsoft.SqlServer.Dts.DtsClient API, but
the package runs locally. I have a lot of questions about thi... more >>
SQL 2000 Database Copy Wizard DTS Error
Posted by John at 7/24/2006 1:00:01 AM
I am trying to setup a database copy DTS package to copy a database from one
server to another. I created the package via the database copy wizard and
everything looks ok.
However when I run the package I get an "Unspecified error" error after a
few minutes.
Does anyone have any suggest... more >>
error in sql dts job .. help :(
Posted by troubleD at 7/23/2006 3:34:01 AM
I'm trying to run this dts via the sql job. i used vbscript to transfer files
to another server:
Function Main()
Dim objFSO
Dim folSource
Dim folDestination
folSource = "X:\BACKUP\datalive"
folDestination = "\\23.654.211.02\data"
Set objFSO = CreateObject("Scripting.Fil... more >>
Copy Database Wizard issues
Posted by Jerry Boggess at 7/22/2006 9:12:02 AM
I have tried copying numerous databases from simple to complex and from
sources of 2000 and 2005 to a 2005 desitnation server. In my copy database
attempts I have been selecting to leave the source database attached and use
the Sql Management Object method, wanting to go the least disruptive ... more >>
|