Sequel: How to define / create schema with SQL Server (tds) #1934
mikelogaciuk
started this conversation in
General
Replies: 1 comment 3 replies
-
Never seen that error before. Once you find out what schema you should be using (since apparently your connection does not have a working default schema), you can use: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to create table with Sequel, connected to SQL Server with tinytds adapter.
However I retrieve an error that the schema does not exists:
/var/lib/gems/3.0.0/gems/sequel-5.61.0/lib/sequel/adapters/tinytds.rb:75:in `each': TinyTds::Error: The default schema does not exist. (Sequel::DatabaseError)
The direct query through fetch, returns proper table name, but schema being returned is
NULL
:Is there a method to specify a schema? Or how should I do that?
I've checked documentation, but didn't find anything about specifying schema for further coding.
Additional screenshot:
EDIT:
I've tried to do it a little bit other way around, but the errors is the same:
Beta Was this translation helpful? Give feedback.
All reactions