Merge pull request #223 from linquize/mssql-quote

MSSQL: Also use doublequote as quote char to avoid problems
This commit is contained in:
Lunny Xiao 2015-03-26 09:42:05 +08:00
commit e2889e5517
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ func (db *mssql) IsReserved(name string) bool {
}
func (db *mssql) Quote(name string) string {
return "[" + name + "]"
return "\"" + name + "\""
}
func (db *mssql) QuoteStr() string {