Viewing 15 posts - 106 through 120 (of 189 total)
Hmmm... from what I just read in BOL...
To save an entire result set of a SELECT statement into a global variable using the Execute SQL task
From the Connection toolbar,...
[font="Courier New"]ZenDada[/font]
October 14, 2004 at 10:23 am
Re:
Exec SQL task to capture the id you need and select it as an output variable...
This output variable is an array? Cos my first transformation will return 12,000 records?
You...
[font="Courier New"]ZenDada[/font]
October 14, 2004 at 9:34 am
Oh, and you need 12000 id's? I thought you needed a single value. Well yes, you can store lists/tables/arrays as globals, but you may want to consider another approach. If...
[font="Courier New"]ZenDada[/font]
October 14, 2004 at 9:21 am
You bet!
After the first transformation, use an Exec SQL task to capture the id you need and select it as an output variable. Create copies of your two connections and do the...
[font="Courier New"]ZenDada[/font]
October 14, 2004 at 9:07 am
Ahhh... just re-read the question. Yes, Steve is absolutely right, if it's as simple as only a set of transformations between two connections, you put one "candy-cane" (workflow) between them...
[font="Courier New"]ZenDada[/font]
October 14, 2004 at 8:54 am
Follow up with an ActiveX script and set the first task to waiting if what you want is to loop. You could also dynamically change the Source SQL string before...
[font="Courier New"]ZenDada[/font]
October 14, 2004 at 8:44 am
This can all easily be done in DTS. See
http://www.sqlservercentral.com/columnists/jsack/capturingtheerrordescriptioninastoredprocedure.asp
and
http://www.sqldts.com/Default.aspx
for ideas on how to write your DTS scripts. You will need to write some DDL statements in an Execute...
[font="Courier New"]ZenDada[/font]
August 3, 2004 at 2:11 pm
try the dateadd function
it exists in both TSQL and VB but the parameters are different
[font="Courier New"]ZenDada[/font]
July 21, 2004 at 3:22 pm
DTS treats Excel like a table. Just dump your data into a data page and let your formulas pull from there.
http://www.sqlservercentral.com/columnists/jsack/capturingtheerrordescriptioninastoredprocedure.asp
Create a template Workbook where DTS can pick it...
[font="Courier New"]ZenDada[/font]
July 9, 2004 at 11:28 am
Package
Save As
Visual Basic File
But why don't you want to use the Dynamic Properties Task? It's easy and extremely flexible.
Did you know you can also pass Global Vars in and...
[font="Courier New"]ZenDada[/font]
July 2, 2004 at 10:05 am
If you are going to do everything in an ExecSQL task, you create one connection icon. It stands alone. You create one ExecSQL task. it stands alone also. Do not...
[font="Courier New"]ZenDada[/font]
July 2, 2004 at 9:17 am
Well, it gets so easy in 2000 I have almost forgotten the pain of 7. Pester your boss to upgrade.
In the meantime, here are your options:
1 - Do what you...
[font="Courier New"]ZenDada[/font]
July 1, 2004 at 1:21 pm
Create an icon for it that stands alone and has no value to your package. Select that connection. Delete the icon. Boom - gone. You will now see in your...
[font="Courier New"]ZenDada[/font]
June 30, 2004 at 2:31 pm
You "set" objects. You simply assign values to variables. strSQLText is not an object. It is a variable.
Also, you are trying to use the DTS connection object to open an ADO...
[font="Courier New"]ZenDada[/font]
June 30, 2004 at 12:08 pm
BOL is a searchable reference - it doesn't read like a book.
Wrox SQL Server 2000 Programming is the best place to start. Yes, it's a big book. You might only...
[font="Courier New"]ZenDada[/font]
June 30, 2004 at 9:41 am
Viewing 15 posts - 106 through 120 (of 189 total)