![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to find a transformation object that does the same thing as a sql2k DTS Date Transformation (IE within a datapump) I have a datetime field, and I am trying to extract the value and change the date format. For example I would like to specify the output to be yyyymmdd. I could use use a derived column object and perform datepart functions, but it seems like an awful lot of work to do something this common. Any suggestions would be appreciated. |
#3
| |||
| |||
|
|
-----Original Message----- Is this all from SQL Server? If yes then could you not specift something like this in your statement SELECT......... CONVERT(CHAR(8),Getdate (),112).................... -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.Konesans.com "rmartinez" <rmartinez (AT) procard (DOT) com> wrote in message news:2f1601c4ad7d$0228ebd0$a601280a (AT) phx (DOT) gbl... I am trying to find a transformation object that does the same thing as a sql2k DTS Date Transformation (IE within a datapump) I have a datetime field, and I am trying to extract the value and change the date format. For example I would like to specify the output to be yyyymmdd. I could use use a derived column object and perform datepart functions, but it seems like an awful lot of work to do something this common. Any suggestions would be appreciated. . |
#4
| |||
| |||
|
|
I understand I can do it if I use a query to extract the dataset. I am trying to figure out how to do it using sql2005's dts transformation objects. |
![]() |
| Thread Tools | |
| Display Modes | |
| |