all groups > sql server dts > september 2007
Filter by week: 1 2 3 4 5
SQL Server 2005 to FoxPro
Posted by Chakravarthy at 9/29/2007 7:25:23 PM
Are there any samples for DTS of SQL Server 2005 data to FoxPro mdf files ?
Thanks.
... more >>
Importing tables from Access to SQL Server
Posted by Shane Jones at 9/28/2007 10:31:56 AM
I've inherited a project which has numerous fields that have extra spaces in
them -- this is causing a problem with data Inserts, Edits, and Deletions in
my .ASP Website.
I'm importing data tables from ACCESS 2003 into SQL Server 2005, and I need
to know if there's a way that I can Right Tr... more >>
Script Task & Scripting.FileSystemObject
Posted by Rmoore at 9/28/2007 8:41:01 AM
I am tring to convert an existing ActiveX task to a Script Task using VB.net.
Below is the code from ActiveXScript (SQL 2000)? What will be the equivlant
in SSIS (Script task)?
Dim FSO
Dim InputFile
Dim InputFile2
Dim OutputFile
Set FSO = CreateObject("Scripting.FileSystemObject")
FSO.C... more >>
Why does Userid appear to change in DTS ?
Posted by rmcompute at 9/28/2007 5:04:00 AM
We run a scheduled job with Owner: SvcExePUser. In the log after the job
completes, it appears to run as US\svcClus as listed below:
Executed as user: US\svcClus. ...OnStart: DTSStep_DTSExecutePackageTask_1
One of our scheduled jobs keeps failing because the directory it is
transmitin... more >>
Passing parameter to Teradata
Posted by Ashish at 9/28/2007 3:21:01 AM
Hi,
I am writing a DTS package to get data from Teradata. It seems like Teradata
driver does not support parameters. I need to pass parameter to the query.
Is it possible to write ActiveX to substitute query parameters from global
variables?
Please give me the steps how to do it. Also, should... more >>
Checkpoints not saving variables
Posted by Jason at 9/27/2007 3:25:00 PM
Hello, If I have to restart an SSIS package at the checkpoint, how do I keep
my variable values? Is there a way to persist the variables in the
checkpoint files so when the package restarts, it knows what variables were
written too in an earlier task?
Here's my problem, if step A writes ... more >>
Source Excel's null value overrides destination table column default value
Posted by michaelt at 9/27/2007 11:33:07 AM
Using SSIS 2005, I am importing an excel worksheet whose column c
(formatted as number) has some null values. The destination table
column "c" (datatype of float) has a default of 0.
After executing the SSIS package, there's are NULL values instead
0's. Why is this? Is there a package confi... more >>
cannot convert between unicode and non-unicode data types
Posted by cindy at 9/27/2007 10:46:00 AM
I am converting a simple (at least in the SQL Server 2000 DTS days) to this
new SSIS. I have a data source (which is Oracle 8 using .Net ODBC provider)
and am trying to pump the data into a SQL Server table. I get an error that
it cannot convert between unicode and non-unicode data types. A... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Transfert DTS Packages
Posted by Cy at 9/26/2007 7:03:10 PM
Newbie question. What is the easiest method of transfering DTS
packages between servers that cannot see eachother?
... more >>
DTS / COM puzzle
Posted by earthStrapped at 9/25/2007 8:08:01 AM
I am having a puzzling problem with a DTS package in SQL 2000 that uses a
combination of "Execute Process Tasks" and "ActiveX Script Tasks." The issue
occurs with one of (the second) the ActiveX Script Task. The script invokes
a COM object that was written in C#. This COM object connects to... more >>
Execute Process Task timing out
Posted by Karl Hoaglund at 9/23/2007 10:19:15 AM
Hi!
I'm calling a VB.net exe using an Execute Process Task and it appears
to be timing out on me. It runs for 3 or 4 minutes and then just
stops and returns an error 128. I think it is timing out because 1)
if I run the exe directly it finishes completely without an error, 2)
the program do... more >>
Dynamic log file location
Posted by Daniel at 9/20/2007 8:58:01 PM
Hi,
I'm working with SSIS 2005 and encountered with a problem with specifying
the log file path. I need to dynamically set the log file name of a child
package in the parent package. I use variables to achieve this. The problem
is, in the child package, before it has retrieved the log path ... more >>
Is it ok to leave connection standing alone?
Posted by Jim Moberg at 9/20/2007 10:40:01 AM
Hi,
Where I currently work we are using MS-SQL Enterprise Manager 8.0. We use
DTS packages to copy daily production files from one area to another and then
load the data into a database. I have set up DTS packages up to
automatically copy a set of files being produced every day from one a... more >>
In Execute SQL Task UDF is not taking parameters
Posted by B NO[at]SPAM ns at 9/20/2007 12:38:03 AM
Hi,
I have an Execute SQL Task in my SSIS Package.
Now, this Execute SQL Task has the following query (Connection Type is OLE
DB):
SELECT dbo.udf_CommonDateTime_Get (GetDate(), ?) As User_Datetime
I want 2 things from this Task:
1) It should take the 2nd argument to the UDF from a varia... more >>
>> SSIS Error Report
Posted by Jonathan at 9/19/2007 7:14:01 PM
Hi, I'm definitely a newbie to SQL 2005. I'm importing data from MS Access
2003 and several tables have a status of Error.
The error messages in SQL 2000 DTS were helpful as they included table name,
column name and description of data problem that caused the error. This
enabled me to ident... more >>
Foreach Loop Container does not iterate automatically
Posted by B NO[at]SPAM ns at 9/19/2007 2:24:02 AM
Hi,
Another classic example of something silly I must be doing :(
I have a "Foreach Loop Container" which uses a "Foreach ADO Enumerator".
The object source is a recordset variable.
Inside the "Foreach Loop Container", a lot of things are happening - some
Execute SQL Tasks, Send Mail Tas... more >>
SendMail Task is not updating the "ToLine"
Posted by B NO[at]SPAM ns at 9/18/2007 9:00:02 PM
Hi,
I am facing a very strange issue with the Send Mail Task:
I am fetching the recipient from a Recordset and storing it in a variable
(MailList).
Now, I modify the Send Mail Task to include an Expression which updates the
"ToLine" property with the email address in the "MailList" variable... more >>
violation of a primary key
Posted by NH at 9/18/2007 7:44:04 AM
I have a DTS package vba task which loads a list of files into table.
It is possible that a file is already in the table from a previous cycle,
and as I only want a single entry for each filename, so I have put a primary
key on the 'filename' field, thinking that it would prevent duplicate
... more >>
DTS 2000: Transform Data Task design freezing
Posted by Jason at 9/18/2007 12:00:00 AM
Hi all
I've got a bit of a problem doing some changes to existing packages on
our db.
When I do a small change; say, changing the path of the error log for
a transformation task and click ok. I need to wait for about an hour
before it stops freezing and completes.
This also happens if I cl... more >>
Transfer SQL Server Objects Task not working with Stored Procedures
Posted by at 9/17/2007 5:48:22 PM
I'm unable to copy my Stored Procedures from one database to another.
I'm using mixed mode authentication. I have set
CopyAllStoredProcedures to True, DropObjectsFirst to True and
CopySchema to True.
Nothing gets copied. I have followed many web sites that say Transfer
SQL Server Object... more >>
SQLDTS Transfer File Task
Posted by Nabeel at 9/17/2007 1:27:38 PM
Hi,
I have an automated task that runs a process to generate files and
then uploads them to an FTP via WS_FTPPro and a script file. the
problem in this scenario is that the WS_FTPPro script transfers
multiple files in individual sessions for each file and the account I
use to sign in on the h... more >>
How to capture SQL statement messages in DTS log file
Posted by Ellen at 9/17/2007 9:52:20 AM
I have a DTS package that is just a list of 'update statistics <tablename>;'
statements. The package has a log file that lets me know that the steps where
successful and low long the total step[s] took to run. I want to put print or
select statements in the the TSQL script so I can see the ret... more >>
Help a noob - with SSIS variables... Please!
Posted by Danny at 9/17/2007 6:40:10 AM
Hi!
At least I think I'm after variables. But I'm not sure. I have a book and a
CD training course, and I've searched around here but have not been able to
find anything that answers my questions. I'm totally stumped - probably
because I know what the problem is, but not entirely what I'm l... more >>
Performance and Parallelism in SSIS
Posted by Amit_S at 9/17/2007 12:09:19 AM
Hi,
I'm developing my first SSIS project where I need to design a package
which would execute around 10 stored procs. All the 10 procs will have
to fetch data from a single Source table within a Source DB and insert
into each of the coressponding 10 tables in a Destination DB on the
same serv... more >>
Upgrading from 2000 to 2005 (DTS)
Posted by Blasting Cap at 9/14/2007 11:44:59 AM
I have 2 production servers which operate in conjunction with each other
(i.e. one will update databases & tables on the other). They're both
Windows 2003, SQL server 2000, most current service packs on each.
I've run an upgrade tool (inquiry) on them, and it ID's a few stored
procedures t... more >>
Using a variable in DTS Script
Posted by at 9/14/2007 5:37:48 AM
I'm trying to help a coworker with a DTS package. I mostly use VBA
and don't know a lot about DTS. What he had was a hard coded line
like this
DTSDestination("Aug 07 VS Sales") = DTSSource("Aug 07 VS Sales")
and the date was always for the prior month. I came up with some
VBScript to c... more >>
Best practices w.r.t. use of Stored Procs in SSIS
Posted by B NO[at]SPAM ns at 9/13/2007 5:08:04 AM
Hi,
I need to know whether it is good to use a Stored Procedure in the Execute
SQL Task inside a SSIS package or whether the functionality of the SP should
be emulated using the SSIS tasks and transformations.
We have some DTS packages which are calling a Stored Procedure to do all the
t... more >>
make a job successful
Posted by Lhoussain at 9/13/2007 12:00:00 AM
How can I make a job successful when it contains a DTS package that
transfers data from a text file to a SQL Server table and updates the table?
The problem is the job should run daily but the file may not always be there
:
Function Main()
Dim oFSO, sFileName
sFile... more >>
Cannot create COM Server to load and execute DTS Package
Posted by ARUL at 9/12/2007 3:20:01 PM
Hi,
DTS job fails with the following error, A Server (Windows 2003 SE with SP1)
has 4 SQL Server 2000 instances with mixed of SP3 & SP4. But few jobs are
failing in all the 4 instances.
Executed as user: DCADB04\SYSTEM. DTSRun: Cannot create COM Server to load
and execute DTS Package. ... more >>
SQL Server 200 DTS Package
Posted by pad at 9/12/2007 11:23:27 AM
I have a Package which can process any number of files and after processing each file it Archives the Processed
file in the Archive Folder.
I cannot reprocess/Import the same file again(in case by mistake)
to avoid this i need to put a check before each run to check the archive folder with the in... more >>
SSIS Execute Process Task
Posted by H Jackson at 9/11/2007 5:40:32 PM
When I first create a package that contains an Execute Process task which runs a batch file, it runs without any errors. But if I run the same package a day later, it fails with the following error: Error: 0xC0029151 at Extract Discoverer Data, Execute Process Task: In Executing C:\ora\bat\NetDirec... more >>
SQL Profiler
Posted by bb at 9/11/2007 12:04:03 PM
How long can I run the profiler to get trace from the production server. It
should not degrade the server performance. what is the minimum time to run
the sql profiler to caputure all queries in the trace
... more >>
SSIS Derived Column YYYYMMDD to MM/DD/YYYY with Nulls
Posted by Zach.Baier at 9/11/2007 6:44:00 AM
I have a fixed length (ragged right) flat file with several dates in the
format YYYYMMDD which I am trying to load into SQL smalldatetime fields.
I have set the input for the fileds at a width of 8 (dt_Str) and output
width of 10.
I have added a single derived column data flow element and sp... more >>
Results to Variable
Posted by Pasha at 9/10/2007 1:06:02 PM
Hi All,
Here is my scenario:
I execute a Data Flow Task, that returns only 1 row and one column. I would
like to assign that result to a variable. Then, based on that variable (or
result), I would like to execute either Data Flow Task 2 or Data Flow Task 3.
For example, if the result ... more >>
Records not importing, but no error
Posted by JoelB at 9/10/2007 11:14:06 AM
I have a DTS package that imports records from a fixed-width text file into a
table with matching columns. There are about 500,000 records to import, but
after "successful" completion of the package, only 288,000 records have been
imported.
I located in the text file one of the records t... more >>
SSIS - dtsx package works in debug mode, nowhere else
Posted by Greg Toronto at 9/10/2007 9:34:02 AM
Hi there...
I'm fairly new to SSIS, and am having an interesting issue.
I have a fairly standard package, it:
- Imports a table
- Runs a query
- Exports a Flat File
- Zips the flat file using a comand line process
- FTP's that File to my server.
If I run the package in debug mode... more >>
Modularization of Emails on Failure (DTS not SSIS)
Posted by tech101 NO[at]SPAM gmail.com at 9/9/2007 7:12:27 AM
In a DTS package, it is a laborious task to connect an On Failure
Workflow to a different Send Mail Task for each task (major or minor).
I am trying to do some researching on a single effective way of
sending an email with a description of the error and the job->task
that it belonged to.
What... more >>
Easy SSIS question ??
Posted by ChiWhiteSox at 9/8/2007 9:42:01 PM
Hi All !
im kinda beginner in SSIS and any help will be really appreciated !
we have 2 separate DAtabases and each DB has a common table , lets say
Tracking Table. In DB1, Tracking has columns that has varchar datatypes, and
at DB2 it has same columns but of INT datatype.
Basically, eac... more >>
SSIS SQL Server 2000 to Oracle IMPORTANT
Posted by Ken at 9/7/2007 10:42:03 AM
Hi Everyone -
I have the latest version of SSIS/SQL Server 2005. In my package, I have a
data flow task w/an OLEDB Source and an OLEDB destination. Nothing else.
The source is a table on a SQL Server 2000 database and the destination is a
table on a Oracle 9.11e database.
I have verif... more >>
Dynamic File Name for Email Attachment
Posted by nemo at 9/7/2007 3:43:37 AM
hi
I must send emails every month with dynamically named files as attachments.
The files are named according to the date on which they are generated.
For example on the first of November 2007, the file will be named myfile_1_11_2007.
I have created a variable called DynamicFileName with pack... more >>
Read the Registry in DTS
Posted by simon NO[at]SPAM otr-tech.com at 9/7/2007 2:06:36 AM
Hi
Can you use DTS to read the windows registry on a server via one of
the connection?
Thanks
Simon
... more >>
Importing Excel files with columns > 255 chars
Posted by S.Kumar at 9/6/2007 1:24:00 PM
I created a SSIS package that imports an Excel file that has columns with >
255 chars into a SQL table.
I am getting error "Text was truncated or one or more characters had no
match in the target code page"
For Excel Source Output I tried changing the type for External and output
columns to... more >>
SSIS use loop to set dynamic global variables
Posted by Rmoore at 9/6/2007 8:30:03 AM
I need help converting some existing ActiveX script to use either the Foreach
or For loop task. I have a sproc that returns one row containing a dynamic
list of column names and values. I want to use that resultset to create
global variables in the SSIS package with the assigned values. All of... more >>
Running DTS from SQL job fails
Posted by jlmjr at 9/6/2007 8:28:02 AM
I have a DTS package in SQL 2000. It executes a Microsoft Access file(mdb)
which moves some data into SQL for me. The package then does some other
stuff. When I execute this package from Enterprise Manager, it all works
great. I then made a SQL job to run the DTS package, and it won't run ... more >>
How to import if different lines hold different sorts of data?
Posted by Stefan at 9/6/2007 7:38:01 AM
I want to create a DTS package (SQL Server 2000) to import order data from
an external source. An order consists of Header data for the whole order
(OrderID, customer info, payment info, etc) and detail data for the purchased
items (OrderID, LineItemID, Sku, item name, price, quantiy, etc).
... more >>
Run DTS 2000 Package on a remote server
Posted by Coop at 9/5/2007 5:44:02 PM
I have a SSIS package on a SQL 2005 server. From within the SSIS package,
how do I trigger a DTS package on a remote SQL 2000 server to run on that
remote server, as oppossed to importing the 2000 package and executing it
locally on the 2005 server?
Thanks.... more >>
Import to SQL Server 2000 using DTS via MS Access 2000
Posted by Roman Moore at 9/5/2007 3:30:00 PM
Using a client/server setup with MS Access 2000 over SQL Server 2000, client
machines are unable to import. The error is "ActiveX component cannot create
object."
I have followed the instructions on "Enabling SQL DMO Clients Without
Installing the Client Side Utilities"
(http://support.m... more >>
Creating CLR Assembly to Execute SSIS Package from Stored Procedure
Posted by George Durzi at 9/4/2007 4:27:22 PM
Hi All,
I have a requirement to execute an SSIS package from within a stored
procedure. The package needs an incoming parameter, and from what I've
seen, I can't do this in T-SQL.
I wrote a simple c# class that uses the
Microsoft.SqlServer.Dts.Runtime objects to do this. I am able to
execute... more >>
Priamary keys missing after DTS from 7.0 to 2005
Posted by willjay at 9/4/2007 10:17:14 AM
I am finally getting around to upgrading from sql 7.0. I installed a new
2005 express server for testing and am trying to use DTS wizard to move the
old 7.0 database to 2005, but when the tables transfer it strips out primary
keys and a few other things. Anyone know how to keep that from happen... more >>
|