MSSQL: Also use doublequote as quote char to avoid problems

This commit is contained in:
Linquize 2015-03-26 00:38:01 +08:00
parent 1f0dd9bef2
commit f353a900f4
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 {