本文介绍了列中的最大值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好! 在这里,我将Querry写入列中的最大值 (从dbo.asd中选择max(m_int)) 但结果是 无列名" Null
hi to all! here i write querry to max value from column (Select max(m_int) from dbo.asd) but the result is "No Column Name" Null
推荐答案您可能选择了错误的列.确保该列存在于表中. You are probably picking up the wrong column. Make sure the column exists in the table.
您尚未在结果集中为该列提供任何名称,因此您使用的工具将名称显示为无列"姓名".您可以尝试使用以下名称: You haven''t given any name for the column in the result set so the tool you''re using show the name as "No Column Name". You can try giving the name: select max(m_int) as MyMax from dbo.asd
如果表中没有任何行,或者m_int
And the result is null if you don''t have any rows in the table or they all have a null as the value in m_int
更多推荐
列中的最大值
发布评论