Viewing 15 posts - 106 through 120 (of 163 total)
Running a package from .NET code can be found here:
September 9, 2008 at 5:28 pm
Yes this is possible. Just use a data flow task with a flat file souce and a flat file destination.
September 9, 2008 at 1:18 am
I think it depends how you are running the ssis package. If you are running it via a proc or job then I believe it will run under the sql...
September 4, 2008 at 5:54 pm
A friend got a response to this question on the msdn forums in case anyone is interested:
http://forums.microsoft.com/msdn/ShowPost.aspx?siteid=1&postid=3826161
September 4, 2008 at 5:48 pm
Please provide more details. What does the table look like? Same number of columns and datatypes as the file? etc... Also why do you need to use ssis? BCP can...
September 1, 2008 at 8:33 pm
'oxfield':
I wouldn't even bother trying to work with the ssis object model for something like this. It's very annoying and not worth the effort. BCP seems to be a very...
August 27, 2008 at 5:50 pm
As already suggested, use the bcp command line utility to generate a format file for you. I recommend using the xml format file is possible.
Command:
C:\>bcp DatabaseName..TableName format nul -T -c...
August 26, 2008 at 5:37 pm
You just need to call the stored procedure as normal and then inspect the command object for the appropriate output parameters. You can then get their values.
August 26, 2008 at 1:12 am
You don't need ssis for this at all. One option is to create a scheduled task in Windows to do what you want. Another option is to create a job...
August 25, 2008 at 5:40 pm
For those interested, here is a page that describes how to use BCP to import data where the source file columns are in a different order to the target table...
August 24, 2008 at 6:40 pm
Crispin Proctor, you said:
"You could do it with BCP but your table columns / file columns will have to be aligned".
Are you sure of this? I thought that's exactly what...
August 24, 2008 at 5:50 pm
Bulk insert task to load the file into the table, then a script task to examine the table and take actions?
Or if you don't need ssis at all, then BCP...
August 24, 2008 at 5:40 pm
I believe this post is in the wrong forum but you're probably after the DATEDIFF function.
e.g.
DATEDIFF(d, @thisdate, @nextmonth)
August 21, 2008 at 10:29 pm
Perhaps you can loads the file into an object variable at the start of the package and use the variable from then onwards.
August 21, 2008 at 6:00 pm
Yeah it's better to create a connection manager and then use that in the script task.
Something like this
'Get the connection manager we have created in the package
Dim mConn As SqlConnection...
August 21, 2008 at 5:43 pm
Viewing 15 posts - 106 through 120 (of 163 total)