Error : SQl server

  • Hi Expects

    Error:

    Msg 2714, Level 16, State 3, Procedure XXXXX, Line 3

    There is already an object named 'XXXXX' in the database.

    But NO same name for that view

    any problem please share the solution

    thanks for advance ....

  • try this:

    select * from sys.objects where name='XXXX'

    The column [type_desc] is telling you what type of object this is

    Wilfred
    The best things in life are the simple things

  • There might be a Table or Procedure with that name already in the database

  • hi thanks for your reply

    table is same name but i m going to create view only in with same name

    it's showing the error

    plz share any option for avoid this error

  • You cannot create view with the same name as a table. You will have to choose a different name ofr the view, or create th eview in a different schema to the original table.

    Mike John

  • k thanks

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply