首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

sql的sqrt函数有关问题

2012-12-31 
sql的sqrt函数问题strName select SQRT(BasicPoint.Bx-SurveyPoint.Sx) from BasicPoint,SurveyPointwh

sql的sqrt函数问题
strName = "select SQRT(BasicPoint.Bx-SurveyPoint.Sx) from BasicPoint,SurveyPoint   where BasicPoint.BG=" + textBox5.Text + " and SurveyPoint.SG=" + textBox5.Text + "";
在网上查了sqrt函数的用法,使用之后却总是提醒sqrt没有定义,但是有些函数比如stved就可以执行,请问这是什么原因啊?
[解决办法]
看一下程序和数据库中的类型是否匹配。

热点排行