Viewing 4 posts - 1 through 4 (of 4 total)
Any feedback guys?
Need your help about this.
Thank you.
July 19, 2015 at 8:54 pm
Hi,
Here is the code that I used.
Imports System
Imports System.Data
Imports System.Math
Imports Microsoft.SqlServer.Dts.Runtime
Imports System.ComponentModel
Imports System.Diagnostics
<Microsoft.SqlServer.Dts.Tasks.ScriptTask.SSISScriptTaskEntryPointAttribute()> _
<System.CLSCompliantAttribute(False)> _
Partial Public Class ScriptMain
Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
Enum ScriptResults
...
July 10, 2015 at 1:33 am
Hi,
Thank you.
What I want to achieve are:
a) get the first day date of the previous month based on current date
b) get the last day date of the previous month based...
July 9, 2015 at 5:15 am
Hi,
You mean like this?
(DT_WSTR, 30) DATEADD("dd", -1, (DT_DATE)((DT_WSTR, 4)YEAR(GETDATE()) + "-" +RIGHT("0" + (DT_WSTR,2)MONTH(GETDATE()),2)+"-01"))
I'm sorry. Just a newbie in SSIS.
Thank you.
July 9, 2015 at 4:36 am
Viewing 4 posts - 1 through 4 (of 4 total)