Displaying 2 results from an estimated 2 matches for "acaixa".
Did you mean:
caixa
2006 Jul 14
1
error with Dates in SQL Server
...STACION - AV. JUAN PABLO II, 5 '', '''',
''REMPO'', '''', ''E
R'', ''INGRESO POR VALIDAR'', ''2006-07-14 11:07:15'',
''21002128420200179838'', '''', ''
aCaixa'', 4110278, ''N'') (ActiveRecord::StatementInvalid)
from ./script/../config/../vendor/rails/activerecord/lib/
active_record/
onnection_adapters/sqlserver_adapter.rb:279:in `insert''
from ./script/../config/../vendor/rails/activerecord/lib/
active_...
2006 Jul 17
18
Inserting datetime value into SQL Server
I have a SQL Server column named StartTime of (SQL Server) type datetime
If I attempt to set the attribute using
public
def StartTime=(time)
write_attribute(:StartTime, "{ts ''1899-12-30
#{time.hour}:#{time.min}:#{time.sec}''}")
end
it''s inserting a NULL value.
Anyone else able to successfully insert a date time value into a SQL
Server table using