Can not create views, tables etc * URGENT*

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • CV

    Can not create views, tables etc * URGENT*

    Hi,

    I am not getting option as 'new view' and 'new table' when I right
    click on
    views and tables option in VisualStudio.ne t IDE server explorer
    sqlservers database to create new objects.

    Looks like some setup issue in my database.

    Thanks for your help in advance.

    Rgds
    CV
  • Erland Sommarskog

    #2
    Re: Can not create views, tables etc * URGENT*

    CV (chaitu_m7@yaho o.co.in) writes:[color=blue]
    > I am not getting option as 'new view' and 'new table' when I right
    > click on
    > views and tables option in VisualStudio.ne t IDE server explorer
    > sqlservers database to create new objects.
    >
    > Looks like some setup issue in my database.[/color]

    Does this happen in every database, including tempdb? How do you connect
    to the server? I don't use VS .Net to access SQL Server normally, so I
    don't have much idea what it could be, but one possibility is that the
    you don't have rights to create new objects in the database in question.

    Personally, I prefer to use Query Analyzer to create tables, using
    the CREATE TABLE statement, and this is also what I recommend in general.
    In the long run, you are more effective with this than using a graphic
    tool. Also, this is the only option if you want to put you tables under
    source control - which you should.

    --
    Erland Sommarskog, SQL Server MVP, sommar@algonet. se

    Books Online for SQL Server SP3 at
    SQL Server 2025 redefines what's possible for enterprise data. With developer-first features and integration with analytics and AI models, SQL Server 2025 accelerates AI innovation using the data you already have.

    Comment

    Working...