Viewing 15 posts - 12,631 through 12,645 (of 13,874 total)
phumlo1 (7/22/2009)
I am using an OLE DB Source in an SSIS package I inject sql script below to retrieve data from datasource. The source has 700 000 records but...
July 22, 2009 at 3:54 am
In an Execute SQL task, if you want to build a dynamic piece of SQL that includes variables, use the 'Expressions' area to override the SQLStatementSource property & this should...
July 22, 2009 at 3:42 am
There is perhaps a more elegant way of achieving what you want - check out "Creating Package Configurations" in BOL.
You could have a variable called (say) LoadDate which is assigned...
July 22, 2009 at 1:34 am
What does the ActiveX task do? Does it fail at a certain line, or does the whole task fail? Does it fail only when executed by the SQL Agent service?
July 21, 2009 at 10:38 am
Strange. You could try removing the variable from the Read/Write section and instead use the VariableDispenser method to retrieve/set the variable.
July 21, 2009 at 10:05 am
Running the restore from Server A would work fine, I believe. Server B would still be the one doing all the work: Server B is just issuing the control commands.
July 21, 2009 at 4:42 am
Why does the Server A task need to wait for the Server B task - is there some dependence there that you have not mentioned? What happens if the Server...
July 21, 2009 at 4:10 am
1) Create a Double variable to hold the result of executing the max sal query
2) Create a String variable to hold your variable SQL.
3) Run an Execute SQL task to...
July 20, 2009 at 2:28 am
So N is a Name record, A an Address record, etc?
.. the records length is fixed for certain records only, ...
Please explain what you mean by this and give...
July 17, 2009 at 10:49 pm
It's always a pleasure helping someone who's enthusiastic and eager to learn.
No rep points here - just hoping that good SQL karma will come back to me when I get...
July 17, 2009 at 7:29 am
Also check that the BudgetFilePath variable has been set so that it points to a valid file so that SSIS's meta-data validation does not fail.
July 17, 2009 at 12:34 am
Ah yes - that copy line was causing me pain because my file system does not have the path you were using, so I muted it 🙂
Change your Evaluation: Expression...
July 16, 2009 at 10:24 pm
Try this:
Imports System
Imports System.Data
Imports System.Math
Imports Microsoft.SqlServer.Dts.Runtime
Public Class ScriptMain
Public Sub Main()
Dim FileSource As String, FileDestination As String
Dim file As FileIO.FileSystem
...
July 16, 2009 at 7:16 pm
Interesting. Can you give me an example of what your source file variable contains?
July 16, 2009 at 10:18 am
Viewing 15 posts - 12,631 through 12,645 (of 13,874 total)