[Rails] Re: Microsoft SQL Server has me stumped

Brian Hogan
Mon, 27 Mar 2006 16:51:21 -0000

I found my own solution to this problem. The square  brackets that wrap the
table name had to be removed.

set_table_name  "_SMDBA_._INVENTOR_"

instead of
set_table_name  "[_SMDBA_].[_INVENTOR_]"

Thanks for the suggestions.

On 3/25/06, Brian Hogan <bphogan@gmail.com> wrote:
>
> Ugh. If I have to remove the underscores then there''s no way I can
use
> Rails for this project. These are legacy tables for a third-party
> (purchased) system.
>
> As for updating, it appears to be working just fine.
>
>
>
>
> On 3/25/06, Paulie <pauliephonic@gmail.com> wrote:
> >
> > Have you tried making a copy of the table without the underscore
> > characters and see if that works?
> >
> > Just thinking that the underscores have meaning and may be clouding
the
> > logic.
> >
> > Does the sequence field have meaing in rails?
> >
> >
> > --
> > Posted via http://www.ruby-forum.com/.
> > _______________________________________________
> > Rails mailing list
> > Rails@lists.rubyonrails.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...