class Sequel::ODBC::MSSQL::Dataset

Constants

TIMESTAMP_FORMAT

Use ODBC format, not Microsoft format, as the ODBC layer does some translation. MSSQL version is over-ridden to allow 3 millisecond decimal places

Private Instance Methods

default_timestamp_format() click to toggle source
# File lib/sequel/adapters/odbc/mssql.rb, line 50
def default_timestamp_format
  TIMESTAMP_FORMAT
end
literal_date(v) click to toggle source

Use ODBC format, not Microsoft format, as the ODBC layer does some translation.

# File lib/sequel/adapters/odbc/mssql.rb, line 56
def literal_date(v)
  v.strftime(ODBC_DATE_FORMAT)
end