更改程序的参数类型 [英] changing parameter type of procedure
本文介绍了更改程序的参数类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的过程中将名为date的参数声明为varchar.
在过程中,我想在日期时间更改它.
我该如何更改.
在此先感谢
i have declared a paramter named date as a varchar in my procedure .
within procedure i want to change it in datetime .
how can i change it .
thanks in advance
推荐答案
据我了解您的问题,请尝试此操作,
As i understand your question try this,
CAST(parameter AS DATETIME)
这篇关于更改程序的参数类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文