English 中文(简体)
SSIS转换成生产服务器库的不正确格式
原标题:SSIS converts .csv date field to incorrect format on production SQL server

我正在利用2005年SSIS将数据从1.csv文档中读到2005年服务器数据库。 我正在使用一个平坦的立案联系管理人,并使用一个欧LEDB联系管理员来管理由此产生的浏览。

.csv文件载有一个以联合王国格式(d/mm/yyyyyyy)写出的日期为2011年3月7日的实地文件。 该栏随后在服务器库数据库中绘制成对等日期的栏目。

我面临的问题是,尽管在生产环境中使用的所有产品都对开发机器进行罚款,但当这些日期被插入服务器时,这些日期已改为美国(mm/dd/yyyyy)格式(如果有效)。 能否具体指明目的地领域所希望的区域/论坛(此处为联合王国)的所在地点,可能是一揽子计划的一部分或生产服务器本身的一些环境?

Thanks in advance, Tim

问题回答

您可以把当地人放在“平坦文件链接管理员”或“地方信息”上,放在连接的物箱内(同一件事)。 将“英文(联合王国)”改为“英文(联合王国)”将正确解释这些日期,因为SSIS在一揽子或数据流动中使用了当地语,而不是SOS。

请注意,您必须在来源而不是目的地确定格式:日期是多指标类集调查的双轨格式,因此日期是内部以当地特定格式储存的吨位。





相关问题
Mysql compaire two dates from datetime?

I was try to measure what is faster and what should be the best way to compare two dates, from datetime record in MySql db. There are several approaches how to grab a date from date time, but I was ...

iPhone Date Picker rolls over to 2010 on December 27th?

So I implemented a UIDatepicker in one of my applications for scheduling and autodialing teleconferences... everything is pretty much ready to go except, while testing I noticed that when the date ...

Convert date Python

I have MMDDYY dates, i.e. today is 111609 How do I convert this to 11/16/2009, in Python?

specifying date format when using $form->inputs() in CakePHP

I am wondering if there is a way to specify the date format in the forms created using CakePHP s $form->inputs(); Please note that this is not the individual $form->input() but instead $form->inputs() ...

NSDateFormat, super simple! Where am I screwing up?

Ok, this is really simple, maybe I m a getting a bit burnt out, but seems like it should work, Query XML feed, put out date string, format, display in a cell. The issue is I m a getting a NULL ...

sqlite writing a date into an email

I am exporting a date value from sqlite and placing it into an email. The date appears like this 279498721.322872 I am using Objective C in an Iphone App. Does anyone know how to make this export ...

热门标签