Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have some MySQL written as String in my VB.NET application. Sometimes Visual Studio (2015 Community) changes the format of some parts of the string that it thinks its a keyword.

Example.:

Command.CommandText = "DROP TABLE IF EXISTS `table_name`"

is changed to:

Command.CommandText = "DROP TABLE If EXISTS `table_name`"

In this case it is just annoing and not harmful, but I can think of situations where this could cause some problems. Case sensitive string comparison, for instance. Another problem is that distracts from the real modifications when using a version control.

To me its seems like a bug in the current release. For now how can I avoid this?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
171 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...