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

  • SEARCH
  • Home
  • 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 3997216
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:22:29+00:00 2026-05-20T07:22:29+00:00

I created a login to connect to SQL SERVER. create login bobLogin with password

  • 0

I created a login to connect to SQL SERVER.

create login bobLogin with password = 'bobpass' , default_database = bobDB

but when i am connecting sql server using this, it does not connects? because it needs a user.

so i created a user:

create user bobDB_USER for login bobLogin

then i connected to sql server using bobLogin & tried to create table:

create table bobDbTable(eid int)

which gives permission denied error;

so i granted permission:

GRANT CREATE TABLE TO bobDB_USER 

then i again connected using bobLogin, & tried to create a table but it gave error:

The specified schema name “dbo” either does not exist or you do not have permission to use it.

why so? its creating the table in the dbo schema, thats why? so how do i grant him this permission ?

i dont want to create a new schema. is it necessary?

  • 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-20T07:22:29+00:00Added an answer on May 20, 2026 at 7:22 am

    You would need to GRANT ALTER ON SCHEMA::dbo TO bobDB_USER to allow objects to be created in the dbo schema.

    I would also use a Role too.

    create role bobDB_ROLE
    EXEC sp_addrolemember 'bobDB_ROLE', 'bobDB_USER'
    GRANT ALTER ON SCHEMA::dbo TO bobDB_ROLE
    

    However, you could addbobDB_USER into db_owner if it requires these rights

    EXEC sp_addrolemember 'db_owner', 'bobDB_USER'
    

    Note: end user permissions are quite different to admin type rights. If ‘bobDB_USER’ is an end user, then they should not be creating objects

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a user on the SQL Server but using that login I get
When a login is created in sql server to connect to it, does it
I've created a login submit form in HTML but for some reason user/password autocompletion
When I try to create a SQL Server Login by saying CREATE LOGIN [ourdomain\SQLAccessGroup]
I am using this tutorial to create a login form http://www.ryancoughlin.com/2008/11/04/use-jquery-to-submit-form/ It authenticates against
I'm using MS Visual Studio 2010 to create an application with SQL Server 2008
Can I connect to SQL Server 2008 using PDO and integrated security using the
I m creating a new login using sql server authentication. a new login is
I have created a new user in SQL server 2008 R2 Express but I
I am using SQL Server 2008 r2. Did the following steps. But it does

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.