sql server 2008 - I have changed default schema of a database from dbo to something else but when I wrote query it still took dbo as default schema -
I have changed the default schema to do something else from a database's DBO, but when I wrote the question , It still takes the default schema I am using Microsoft SQL Server 2008 and there are some problems. Please help me at: I have a database in which there is two schemata, a debbo and the other student is student. I was entering studentlinkweb First of all, the default schema is Dabo, then I have already successfully set the default schema for DBO login schema studentlinkweb for studentlinkweb . (I & dd; database_name & gt; User & gt; Properties (right-click)> General & Database & gt; Security & gt; Login it & # 39; Login ID & gt; Properties (right click) I've already checked it under & gt; User Mapping) However, when I wrote the SQL script, Did not work in conformity. Under the schema studentlinkweb, I have a table name table_name. When I wrote I have another table named table_name2 under the schema debo, Since I wrote This means that the default schema was still DBO. Can you please give me some ideas or suggestions? When the entry is set as 'Sysadmin', define the default schema as the debob And whatever can not be changed. written by name and ran away, he returned a message: invalid object name 'table_name' < P> When I wrote from
studentlinkweb.table_name and took part, the query successfully passed
, then select from table_name2 and gone, the query successfully passed. I did not specify the schema here but the query is still running successfully
Comments
Post a Comment