0

I want to set default value for a varchar column in sqlite.

default value is a path like c:\log

but sqliteStudio don't allow me to add this and after C value rest of values are in purple:

c:\log

how should I add this?

intboolstring
  • 6,891
  • 5
  • 30
  • 44
Reza Akraminejad
  • 1,412
  • 3
  • 24
  • 38

1 Answers1

1

In SQL, string values must be quoted:

'c:\log'
CL.
  • 173,858
  • 17
  • 217
  • 259