With MySql I can do this:

class Customer < Sequel::Model(:samm__tblorganisation)
end

"samm" being the database.

When I do this with SQL Server

class Company < Sequel::Model(:LX__SYS_Company)
end

"LX" being the database,

company = Company[2468]

gives the sql:
SELECT * FROM [LX].[SYS_COMPANY] WHERE [COMPANYID] = 2468

but I would like to see:
SELECT * FROM [LX].dbo.[SYS_COMPANY] WHERE [COMPANYID] = 2468
or
SELECT * FROM [LX]..[SYS_COMPANY] WHERE [COMPANYID] = 2468

Is there a solution to this?

I've got 25 databases on four servers (100 in total), so it would be
nice to be able to sort this out!

Christer

--

You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.


Reply via email to