if DTSSource("Spot-start")="[?]" then ----增加[]
DTSDestination("Spot-start") = null
else DTSDestination("Spot-start") = DTSSource("Spot-start")
end if
DTSDestination("Spot-start") = null
else DTSDestination("Spot-start") = DTSSource("Spot-start")
end if
解决方案 »
- 推荐一款基于Web的数据透视表控件,希望用得上
- 存储过程编写规范
- 求救,我的MSSQL 2000 SP4 突然变得非常慢,经常超时,怎样解决
- 谁帮我把下面的SQL语句修改成存储过程,或是新增一个函数?谢谢大家了!!!急用!
- 去除重复的email地址
- 请问Access数据库能否实现网络版程序?怎样才能把Access数据库中的数据导入SQL server
- 在线请教:在存储过程中如何根据已有视图建立一个结构一样的表?
- 学PB需要辅助其他的数据库工具吗,如sql server
- 求一个存储过程(分不够在加)
- 求大神指教用Compression压缩表进行备份,数据是否完整?
- 请问如何在SQL语句中指定数据显示的格式?(要这样:#,0.00#)
- 存储过程导致数据库死锁????
怎么会有“?”
格式错误啊,不能插入
if DTSSource("Spot-start")="?" then
DTSDestination("Spot-start") = null
else DTSDestination("Spot-start") = DTSSource("Spot-start")
end if
中的"?"换为'?'
???窃以为。
DTSDestination("Spot-start") = null
else
DTSDestination("Spot-start") = DTSSource("Spot-start")
end if
我要导入下面的这些数据
Last-update Last-inv-date
2003-9-2 ?
? 2006-6-3
? ?
? ?
? 1931-3-3
? ?
? 2025-12-2
? ?
? 2007-1-3
? 1930-4-3
有那位大虾帮我试一下!!不胜感激!!
Function Main()
if isdate(DTSSource("Last-update")) then
DTSDestination("Last-update") = DTSSource("Last-update")
else
DTSDestination("Last-update") = null
end if
if isdate(DTSSource("Last-inv-date")) then
DTSDestination("Last-inv-date") = DTSSource("Last-inv-date")
else
DTSDestination("Last-inv-date") = null
end if
Main = DTSTransformStat_OK
End Function
再导入就可以看到数据!