C# & SQL Server : escaping SQL column name AND param? -


i using reserved keywords column names frowned upon, in database didn't design i'm running that.

i understand escaping column name tablename.[count] column using reserved keyword, in instance you're working within custom data adapter?

my question this, here's mock update statement:

sqlcomm = new sqlcommand("update mytable set <stuff>", sqlconn) 

one of updateable items update mytable set [count] = @count...

is there escaping needs take place on @count well? or above appropriate syntax?


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -