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

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

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

html - jQuery UI Sortable - Remove placeholder after item is dropped -