put [] around the table name in the CreateInsertCommand #158

Merged
merged 1 commit into from Dec 3, 2012

2 participants

@eiu165

we had a table called Order which is a keyword in sql.
using [] around the table name will allow for a statement like this.
INSERT INTO Order VALUES ('Hat')

@eiu165 eiu165 put [] around table name
we had a table called Order which is a keyword in sql.
using [] around the table name will allow for a statement like this.
INSERT INTO [Order] (Product) VALUES ('Hat')
ce1d125
@robconery robconery merged commit e120625 into FransBouma:master Dec 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment