Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. AnsiNulls and QuatedIdentifiers default values

AnsiNulls and QuatedIdentifiers default values

Scheduled Pinned Locked Moved Database
databasequestionsql-serversysadminxml
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    eli15021979
    wrote on last edited by
    #1

    Hi, Not sure it is the right forum... I'm using VisualStudio 2010 and trying to use schema compare tool to deploy changes from my db project to my database (SQL server 2008). when trying to deploy the changes I made in my db project I get anexception with the following message: "Cannot create index. Object 'v_TQ_IFCR_DATA_COVERAGE' was created with the following SET options off: 'ANSI_NULLS, QUOTED_IDENTIFIER'." If I will go the the index properties,I see that AnsiNulls and QuatedIdentifiers are set to project default. When changing those settings to ON I manage to deploy all updates without any exception. How can I change project default settings? I have more then 200 different objects(tables,stored procedures,functions,indexes etc.) and I don't want to change the settings of each object. Anyone? Thanks, Eli

    E 1 Reply Last reply
    0
    • E eli15021979

      Hi, Not sure it is the right forum... I'm using VisualStudio 2010 and trying to use schema compare tool to deploy changes from my db project to my database (SQL server 2008). when trying to deploy the changes I made in my db project I get anexception with the following message: "Cannot create index. Object 'v_TQ_IFCR_DATA_COVERAGE' was created with the following SET options off: 'ANSI_NULLS, QUOTED_IDENTIFIER'." If I will go the the index properties,I see that AnsiNulls and QuatedIdentifiers are set to project default. When changing those settings to ON I manage to deploy all updates without any exception. How can I change project default settings? I have more then 200 different objects(tables,stored procedures,functions,indexes etc.) and I don't want to change the settings of each object. Anyone? Thanks, Eli

      E Offline
      E Offline
      eli15021979
      wrote on last edited by
      #2

      problem solved. In my schema compare the options if "Ignore AnsiNulls" and "Ignore QuatedIdentifiers" where checked,so updated AnsiNulls and QuatedIdentifiers settings was not marked as needs to be updated during the schema compare. Also,I've set AnsiNulls and QuatedIdentifiers default settings to true in database.sqlsettings file.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups