ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Preparing SQL Server to store XML columns for the NIS workspace

Geodatabase XML columns must be enabled on the NIS geodatabase for it to work properly in an enterprise environment.

  1. Start SQL Server Management Studio.
  2. In Object Explorer, right-click the database server and click New Query.

    The SQL Query Editor window appears.

    USE NISDB
    GO
    
  3. Execute the following query to verify the full-text search engine is properly installed.
    SELECT fulltextserviceproperty('IsFulltextInstalled');
    GO
    

    If the value 1 is returned, the full-text search engine has been installed properly. If another value is returned, you must install or reinstall Full-Text Search; you may need to reinstall SQL Server. You cannot successfully create a full-text catalog or an geodatabase XML column if this query does not return the value 1.

  4. Check whether the database has been enabled for full-text searching.
    SELECT DATABASEPROPERTY('nisdb', 'IsFulltextEnabled');
    GO
    

    If the value 1 is returned, the database is already full-text enabled, and you can continue to step 5.

    If another value is returned, the database must be enabled for full-text searching using SQL Server Management Studio before you can continue. If this is the case, perform the following substeps.

    1. In Object Explorer, click the plus sign (+) next to the appropriate SQL Server instance; then click the plus sign (+) next to Databases.
    2. Right-click the database in which the XML column will be created and click Properties.
    3. Click Files under Select a Page on the left of the Database Properties dialog box.
    4. Check the Use full-text indexing check box in the page on the right if it is not already checked.
    5. Click OK on the Database Properties dialog box.
  5. Create a full text catalog by performing the following in the SQL Query Editor window.
    1. Select the database in which the XML column will be created using the drop-down list on the SQL Editor toolbar or by executing the USE command.
      USE NISDB;
      GO
      
    2. Create a full-text catalog in the database using the CREATE FULLTEXT CATALOG statement.
      CREATE FULLTEXT CATALOG SDE_DEFAULT_CAT AS DEFAULT;
      GO
      
    3. If you provide a name other than SDE_DEFAULT_CAT, you must modify the value of the XML_IDX_FULLTEXT_CAT parameter for the DEFAULTS keyword in the SDE_dbtune table.

      See Alter configuration keywords for information on changing the values of parameters in the SDE_dbtune table.

    4. You can optionally set other properties of the full-text catalog such as providing a location on disk where the files will be stored and setting the catalog as the default full-text catalog for the database.
  6. Grant permission on the full-text catalog.

    Grant REFERENCES permission on this full-text catalog to the user who will own the XML column, or grant this permission to the role to which the user belongs.

    GRANT REFERENCES ON FULLTEXT CATALOG :: SDE_DEFAULT_CAT TO NIS;
    
  7. Modify the value of the XML_IDX_FULLTEXT_CAT parameter to SDE_DEFAULT_CAT for the DEFAULTS keyword in the SDE_dbtune table.

    For more information, see Alter configuration keywords.

  8. Modify the value of the XML_COLUMN_STORAGE parameter to DB_XML for the DEFAULTS keyword in the SDE_dbtune table.

    For more information, see Alter configuration keywords.

  9. Verify the XML parameters for the DEFAULTS keyword in the SDE_dbtune table.
    USE NISDB
    GO
    SELECT * FROM sde.dbtune ORDER BY 1,2;
    GO
    SELECT * FROM sde.dbtune 
    WHERE keyword = 'DEFAULTS' 
    AND parameter_name LIKE 'XML%' 
    ORDER BY 1,2;
    GO
    SELECT * FROM sde.dbtune 
    WHERE keyword = 'DEFAULTS' 
    AND parameter_name = 'XML_IDX_FULLTEXT_CAT' 
    ORDER BY 1,2;
    GO
    

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2020 Esri. | Privacy | Legal