Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6837901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:31:55+00:00 2026-05-26T23:31:55+00:00

The following line works: SELECT * FROM [myschema].users But this does not: SELECT *

  • 0

The following line works:

SELECT * FROM [myschema].users

But this does not:

SELECT * FROM users
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:31:56+00:00Added an answer on May 26, 2026 at 11:31 pm

    A default schema is user-specific:

    USE yourDatabase;
    ALTER USER [yourUser] WITH DEFAULT_SCHEMA = myschema;
    

    More information about the ALTER TABLE for SQL 2005 might help you as well.

    As this is user-specific, if you have multiple users, you will need to execute this query (on each database) for each user whose default schema you want to update.

    It is important to note:

    The value of DEFAULT_SCHEMA is ignored if the user is a member of the sysadmin
    fixed server role. All members of the sysadmin fixed server role have a default
    schema of dbo.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The following block of code works fine (no errors) $query = select * from
The following select query works fine: SELECT * FROM JBPM_JOB job WHERE job.ACTION_ IN
This script works online but not offline via WAMP... function current_user() { static $current_user;
I'm trying to execute the following line: exit | sqlplus username/password@sid @test.sql Works great
I thought the following line of code should work fine: $(.1).attr('href', '#Home'); Right? But
I have the following line: 14:48 say;0ed673079715c343281355c2a1fde843;2;laka;hello ;) I parse this by using a
The following select statement is not working if it placed inside the dynamic query.
I have a query that works on Postgresql 7.4 but not on Postgresql 8.3
I am trying the following query if exists (select 1 from emp where eid
I have a problem with the following HQL query: select sum(MYTABLE.COUNTER) from ( select

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.