Use of uniqueidentifer type for primary key?

I’m working on a legacy SQL db. It is distributed, to they are using
the uniqueidentifier type for the primary key.

At first, at least, I won’t be updating records, but I’m seeing a lot
of negativity about using anything other than incrementing integers
for the pk–which are obviously inadequate for this environment.

It is enough to use set_primary_key? Do I need more?

See if the information in this blog posting helps you:

http://made-of-stone.blogspot.com/2006/06/about-turn-or-how-to-use-ruby-on-rails.html

Interesting. So the view is defined in the db, not in rails, right?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs