在SQL Server中导入txt之前将字符串转换为日期和时间 [英] Convert string into date and time before importing txt in SQL server

查看:75
本文介绍了在SQL Server中导入txt之前将字符串转换为日期和时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

0
down vote
favorite
i am importing data into sql server table and column type is time and Date ,so my query is ( new DataColumn("Time", typeof(string)), ) ,kindly suggest me thanks

c#





什么我试过了:





What I have tried:

<pre>
0
down vote
favorite
i am importing data into sql server table and column type is time and Date ,so my query is ( new DataColumn("Time", typeof(string)), ) ,kindly suggest me thanks

c#

推荐答案

参见日期时间结构(系统)| Microsoft Docs [ ^ ]


这篇关于在SQL Server中导入txt之前将字符串转换为日期和时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆