用?编写存储过程?在列名称中 [英] To write stored procedure with ? in column name

查看:58
本文介绍了用?编写存储过程?在列名称中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个列名为'Age?'的表格。



但是当我尝试写SP时,列名为Age?在'Age?'附近说错误的语法'

(@Age?varchar(200)





可以'我用列名称写了SP?



谢谢,

Sathish

解决方案

访问这里..





http://technet.microsoft.com/en-us/library/ms187926.aspx [ ^ ]







http://technet.microsoft.com/en-us/library/ ms345415.aspx [ ^ ]





http://technet.microsoft.com/en-us/library/ms190669(v = SQL.105)的.asp x [ ^ ]

I have a table with a column name 'Age?'

But when I do try write SP for that the column name Age? says incorrect syntax near 'Age?'
(@Age? varchar(200)


Can't I write SP with ? in column name?

Thanks,
Sathish

解决方案

visit here..


http://technet.microsoft.com/en-us/library/ms187926.aspx[^]

or

http://technet.microsoft.com/en-us/library/ms345415.aspx[^]
or

http://technet.microsoft.com/en-us/library/ms190669(v=sql.105).aspx[^]


这篇关于用?编写存储过程?在列名称中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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