Viewing 15 posts - 1,591 through 1,605 (of 2,486 total)
And would it also be related to this post?
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=159576
Making it three posts for the same problem.
Is that some sort of record?
February 3, 2005 at 9:17 pm
Yes. Lookup DTSRUN Utility in Books Online. There is a link about half way done that says "The table shows the global variable data types and their IDs."
Click it...
February 3, 2005 at 8:41 pm
A bit confusing.
So you have a table variable called @tablecol that has two fields (table name and column name).
What do you mean by "I want to pull Table name first...
February 3, 2005 at 7:55 pm
Direct copy and paste from Books Online
Important Use the Microsoft® SQL Server™ 2000 function DATABASEPROPERTYEX to obtain information about the current setting of database options or the properties of a...
February 3, 2005 at 7:35 pm
Should you be using BCP at all? Why not use BULK INSERT?
February 3, 2005 at 7:21 pm
Given that the laptops will not be able to access the SQL Server, what is the definition of a locked record?
I would use MSDE (Is that what you were...
February 3, 2005 at 7:20 pm
Super simple really. just use a standard T-SQL UPDATE for matching records and an INSERT for missing records,
eg:
UPDATE Tbl1
SET Tbl1.Field1 = Tbl2.Field1
FROM Tbl1 INNER JOIN Tbl2 ON Tbl1.Key = Tbl2.Key
INSERT...
February 3, 2005 at 3:22 pm
Very easy solution, the last step in the package is called when one of the previous step fails
eg:
step | success action | fail action |
step 1 | goto next step | goto step 3 |
step 2 | end job sucess | goto step... |
February 3, 2005 at 3:17 pm
Post your SQL statement and table details so we can look at it.
February 3, 2005 at 3:06 pm
Yes, but exporting to CSV and opening in Excel means that you lose any formatting, like column widths, borders, etc...
What I have found to be the best solution for Excel...
February 3, 2005 at 3:04 pm
Actually, this sort of approach is recommended as "Best Practice" by Microsoft in developing the routines for the Business Intelligence Accelerator.
What I do here is have all my global variables,...
February 3, 2005 at 3:01 pm
You can do it programmatically with a wee bit of ActiveScripting.
You would need to get a list of packages from the server (via ADO or DMO), load the package...
February 3, 2005 at 12:32 am
The DTS Transformation you're doing is processing the input a single row at a time. Are the two tables accessible from one server? ie: can you run a single query...
February 3, 2005 at 12:29 am
Is there any reason you couldn't just use
SELECT * FROM dbo.employee WHERE hire_date > ?
Then assign the global variable using the Parameters button?
February 3, 2005 at 12:24 am
Yes that would be the problem. You need to tell DTS the datatype of the parameter as well as the value.
February 3, 2005 at 12:18 am
Viewing 15 posts - 1,591 through 1,605 (of 2,486 total)