thendrickson
Programmer
I need to create a DTS package where I use a query to import year, month and day into a datetime field.
My package fails on that line due to what I am certain is my lack of knowlege of Vb Scripting
The souce query is:
select distinct consentregid,inscarrier,schoolname,sendattempt,year(datepacketcreated)as yr,month(datepacketcreated)as mo,day(datepacketcreated)as da,schoolyear,dateofservice from tblChildPacketSchoolHistDet order by consentregid.
I need to concantenate The year, month and day using vbscript in the DTS package if I can.
I cannot seem to locate syntax for this for some reason.
Thanks
My package fails on that line due to what I am certain is my lack of knowlege of Vb Scripting
The souce query is:
select distinct consentregid,inscarrier,schoolname,sendattempt,year(datepacketcreated)as yr,month(datepacketcreated)as mo,day(datepacketcreated)as da,schoolyear,dateofservice from tblChildPacketSchoolHistDet order by consentregid.
I need to concantenate The year, month and day using vbscript in the DTS package if I can.
I cannot seem to locate syntax for this for some reason.
Thanks