Viewing 14 posts - 271 through 284 (of 284 total)
Check out this article on Looping and Importing multiple files via DTS:
http://www.sqldts.com/default.aspx?246
I have used this code in a modified fashion to import from multiple files and tag the records...
September 21, 2005 at 7:50 am
I have found http://www.sqldts.com/default.aspx to be very useful when I need to get something done in DTS. Plus a general familiarity with VB/vbsript technologies.
-Ed Zann
September 20, 2005 at 7:06 am
Another option is to create the import and transformations in a DTS Package, then save as a VB .bas file, then build an interface around it.
August 2, 2005 at 3:17 pm
The 5 users with valid NT SQL DB accounts will have access to the linked SQL objects. The remainder of the users will have access only to the remaining non-SQL...
May 16, 2005 at 9:12 am
See the SQL BOL topic "How to restore a database with a new name (Transact-SQL)" for the TSQL command.
I don't use the wizard, but the Restore GUI inteface can also...
December 21, 2004 at 10:36 am
I agree that DTS might be the better way to go. I have had similar issues linking to Excel on another server. I believe it has to do with Windows...
November 8, 2004 at 1:25 pm
I believe there are some sample databases included with some MSFT Code samples, like Duwamish, Fitch & Mather, etc.
You can download at:
http://msdn.microsoft.com/netframework/downloads/samples/default.aspx
Pubs & Northwind are most helpful because they...
November 1, 2004 at 9:56 am
If your DTS is accessing external resources, like drives on other servers, perhaps the account that ASP uses to execute the DTS does not have sufficient permissions, but the account...
June 11, 2004 at 7:18 am
Here is a "HalfHour" function I came up with:
/*
Returns the half hour segment of a date
numbered 1 - 48
*/
CREATE FUNCTION [dbo].[HalfHour] (@TimeIn DateTime)
RETURNS int
AS
BEGIN
DECLARE
@Hour int,
@Mins int,
@HourPart int
SELECT @Hour...
April 15, 2004 at 12:50 pm
Refer to the DATEPART functions in your Books Online. There are params for returning the month or the week.
For the half hour - assuming you're using SQL 2000 - I...
April 15, 2004 at 12:21 pm
@Find should be a VARCHAR(20).
When you use CHAR(20) it pads out to 20 characters with 19 trailing spaces. So intead of getting '%', you're getting '% '.
April 13, 2004 at 2:38 pm
In order to backup to a network drive, your SQL server must be started using a domain account that can "see" your network resources.
By default many folks just select "Local...
March 30, 2004 at 8:00 am
I appreciate all of your input on this.
I have tried the different approaches suggested. I have found that the temp table approach is the fastest in my situation. Here is the...
February 6, 2004 at 8:32 am
Also, you might look into the Transform Data Task Properties - Option tab. It has a couple of features that deal with errors during a transform. Click the...
June 9, 2003 at 6:59 am
Viewing 14 posts - 271 through 284 (of 284 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy