Hi i just tried to save a record to a SQL Server that has a computed
column and i get this error:
DBI::DatabaseError: 37000 (271) [unixODBC][FreeTDS][SQL Server]Column
''DLX_DTMF'' cannot be modified because it is a computed
column.: INSERT
INTO DLXVOIPUSER ([DLXFILTER], [DLXLANG], [DLXPASS],
[DLXBLOCK_CALLER_ID], [DLXMAX_VM], [EXCHANCEPASS], [EXCHANGEUSERID],
[DLXFIRST_NAME], [DLXLAST_NAME], [DLXVALIDAT_DEL], [DLXEMAIL],
[DLXDISPLAY_NAME], [DLXVM_TYPE], [DLXMAX_DISK_SPC],
[DLXSKIP_READVM_PIN], [DLXWATCH_BY_DOM], [VOICEMAILPASS], [DLXAUTHMODE],
[DLXTRUNCK_TO_TRUNCK_CALL], [DLXTYPE])
VALUES(''dialplan_sitios_lpz'',
NULL, ''32011a'', 0, 50, NULL, NULL, NULL,
''a11023'', ''a11023'', 1, NULL,
NULL, 0, 5000, 1, 0, NULL, 1, 1, ''U'')
How can i do not to write the DLX_DTMF column
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---