<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to delete SDE database that was already dropped in SQL Server in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504925#M28597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope you are not using a Basic License of ArcGIS Desktop. The Enable Geodatabase option will be greyed out in that case&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2016 21:16:14 GMT</pubDate>
    <dc:creator>AsrujitSengupta</dc:creator>
    <dc:date>2016-06-23T21:16:14Z</dc:date>
    <item>
      <title>How to delete SDE database that was already dropped in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504919#M28591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am relatively new to the ArcGIS world but am experienced with SQL Server.&amp;nbsp; We are geo-enabling a database that already exists in SQL Server.&amp;nbsp; In preparation for deploying to Test and later to Production, I am writing a how to guide, to make all the steps consistently reproducible.&amp;nbsp; Before starting, I took a backup of the database.&amp;nbsp; After geo-enabling the database, I missed documenting a step in ArcCatalog.&amp;nbsp; Without thinking, I quickly dropped the database in SQL Server, and restored it from the backup, to simply start over.&amp;nbsp; Now, although the restored non-geo-enabled database is what I have in SQL Server, ArcCatalog still sees the database as geo-enabled.&amp;nbsp; In ArcCatalog, when I right-click on the database connection, the Enable Geodatabase option is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Corrective action so far.&lt;/P&gt;&lt;P&gt;Delete the connection in ArcCatalog and recreate it:&amp;nbsp; No help.&lt;/P&gt;&lt;P&gt;Delete the connection in ArcCatalog, then drop the database in SQL Server, then restore the database with the same name, then recreate the db connection:&amp;nbsp; No help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically is seems that ArcCatalog now/still recognizes the database as a geo-enabled and registered database.&amp;nbsp; I do not want to change the name of the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I clean this one database out and start over?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/group/1680"&gt;Geodatabase&lt;/A&gt;​ &lt;A href="https://community.esri.com/space/2053"&gt;Enterprise GIS&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 18:41:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504919#M28591</guid>
      <dc:creator>GeorgeClark</dc:creator>
      <dc:date>2016-06-23T18:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SDE database that was already dropped in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504920#M28592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you close the ArcCatalog interface...reopen it and then check?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 19:16:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504920#M28592</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2016-06-23T19:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SDE database that was already dropped in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504921#M28593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I did.&amp;nbsp; I also closed everything out, restarted my machine, and rechecked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 19:18:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504921#M28593</guid>
      <dc:creator>GeorgeClark</dc:creator>
      <dc:date>2016-06-23T19:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SDE database that was already dropped in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504922#M28594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SQL Server Management Studio...do you still see the SDE Repository tables inside that database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 20:07:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504922#M28594</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2016-06-23T20:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SDE database that was already dropped in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504923#M28595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No.&amp;nbsp; I took the pre-deployment backup before geo-enabling the database, and that is what I restored from (a "regular" SQL Server database).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 20:49:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504923#M28595</guid>
      <dc:creator>GeorgeClark</dc:creator>
      <dc:date>2016-06-23T20:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SDE database that was already dropped in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504924#M28596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is some additional info that may or may not be helpful.&lt;/P&gt;&lt;P&gt;We have our ArcGIS (version 10.3) running on one server.&amp;nbsp; Our SQL Server (V2012) is on a different server.&lt;/P&gt;&lt;P&gt;I am running ArcCatalog (10.3.1) from a laptop running Windows 7 Ultimate SP1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 20:54:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504924#M28596</guid>
      <dc:creator>GeorgeClark</dc:creator>
      <dc:date>2016-06-23T20:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SDE database that was already dropped in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504925#M28597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope you are not using a Basic License of ArcGIS Desktop. The Enable Geodatabase option will be greyed out in that case&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 21:16:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504925#M28597</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2016-06-23T21:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SDE database that was already dropped in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504926#M28598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No.&amp;nbsp; We are using ArcGIS 10.3.1 for Desktop&lt;/P&gt;&lt;P&gt;License type:&amp;nbsp; Advanced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I create a connection to one of our other "regular" SQL Server databases, the Enable Geodatabase... option text color is black.&amp;nbsp; When I started this process, the option text color was black also, but it changed to grey, after I ran the Enable Geodatabase process, which made sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 21:25:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504926#M28598</guid>
      <dc:creator>GeorgeClark</dc:creator>
      <dc:date>2016-06-23T21:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SDE database that was already dropped in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504927#M28599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The thing is that if ArcGIS was considering it as an Enterprise geodatabase, you will not even get the option 'Enable Geodatabase' anymore.&lt;/P&gt;&lt;P&gt;The fact that it still is showing the option 'Enable Geodatabase', though its greyed out...indicates that ArcGIS considers it as a simple database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But the question remains as to why that option is greyed out....&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 23:05:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504927#M28599</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2016-06-23T23:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SDE database that was already dropped in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504928#M28600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi George, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; What user are you using to connect to the database with in ArcCatalog currently? It sounds like the sde login / user / schema might have been altered or deleted and normally needs to be recreated in SQL Server before the enable geodatabase tool can be ran on the client (ArcMap / Catalog) side of things. The following SQL code was ran (in SQL Server 2014 however, and at ArcGIS version 10.4.1)&amp;nbsp; to successfully prepare a database to be enabled into a geodatabase using the tool in ArcMap / Catalog. The database being enabled = Testtwo and the filename path should be the directory on the SQL Server server where your MDF (data file) and LDF (log file) reside. The first portion is altering the database properties for configuration, the second portion creates a login, user and schema named "sde" and adds sde to the bd_owner role, and finally the last portion grants the necessary permissions to sde. I hope this is of some assistance to you-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;USE [master]&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;/****** Object:&amp;nbsp; Database [Testtwo]&amp;nbsp;&amp;nbsp;&amp;nbsp; Script Date: 6/22/2016 8:06:13 AM ******/&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;CREATE DATABASE [Testtwo]&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt; CONTAINMENT = NONE&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt; ON&amp;nbsp; PRIMARY &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;( NAME = N'Testtwo', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA\Testtwo.mdf' , SIZE = 3072KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt; LOG ON &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;( NAME = N'Testtwo_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA\Testtwo_log.ldf' , SIZE = 1024KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET COMPATIBILITY_LEVEL = 120&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;begin&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;EXEC [Testtwo].[dbo].[sp_fulltext_database] @action = 'enable'&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;end&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET ANSI_NULL_DEFAULT OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET ANSI_NULLS OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET ANSI_PADDING OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET ANSI_WARNINGS OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET ARITHABORT OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET AUTO_CLOSE OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET AUTO_SHRINK OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET AUTO_UPDATE_STATISTICS ON &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET CURSOR_CLOSE_ON_COMMIT OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET CURSOR_DEFAULT&amp;nbsp; GLOBAL &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET CONCAT_NULL_YIELDS_NULL OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET NUMERIC_ROUNDABORT OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET QUOTED_IDENTIFIER OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET RECURSIVE_TRIGGERS OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET&amp;nbsp; DISABLE_BROKER &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET AUTO_UPDATE_STATISTICS_ASYNC OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET DATE_CORRELATION_OPTIMIZATION OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET TRUSTWORTHY OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET ALLOW_SNAPSHOT_ISOLATION ON &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET PARAMETERIZATION SIMPLE &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET READ_COMMITTED_SNAPSHOT ON &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET HONOR_BROKER_PRIORITY OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET RECOVERY FULL &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET&amp;nbsp; MULTI_USER &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET PAGE_VERIFY CHECKSUM&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET DB_CHAINING OFF &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET FILESTREAM( NON_TRANSACTED_ACCESS = OFF ) &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET TARGET_RECOVERY_TIME = 0 SECONDS &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET DELAYED_DURABILITY = DISABLED &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER DATABASE [Testtwo] SET&amp;nbsp; READ_WRITE &lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;USE [Testtwo]&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;CREATE USER [sde] FOR LOGIN [sde]&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;USE [Testtwo]&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER USER [sde] WITH DEFAULT_SCHEMA=[sde]&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;USE [Testtwo]&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;CREATE SCHEMA [sde] AUTHORIZATION [sde]&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;USE [Testtwo]&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;ALTER ROLE [db_owner] ADD MEMBER [sde]&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;grant create function to sde;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;grant create procedure to sde;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;grant create view to sde;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;grant create table to sde;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 23:38:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504928#M28600</guid>
      <dc:creator>RexRobichaux2</dc:creator>
      <dc:date>2016-06-23T23:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SDE database that was already dropped in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504929#M28601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternatively, if the sde login still exists, you could also first try just remapping the sde user (must be done after SQL Server database restore) using the following script in SQL Server Management Studio where db_name = the database name being restored:&lt;/P&gt;&lt;P style="margin-top: 2pt; margin-bottom: 2pt; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;use db_name&lt;/P&gt;&lt;P style="margin-top: 2pt; margin-bottom: 2pt; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; go&lt;/P&gt;&lt;P style="margin-top: 2pt; margin-bottom: 2pt; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXEC sp_change_users_login 'Update_One', 'sde', 'sde'&lt;/P&gt;&lt;P style="margin-top: 2pt; margin-bottom: 2pt; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; go&lt;/P&gt;&lt;P style="margin-top: 2pt; margin-bottom: 2pt; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;&lt;/P&gt;&lt;P style="margin-top: 2pt; margin-bottom: 2pt; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;For more: &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/enable-enterprise-geodatabase.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/enable-enterprise-geodatabase.htm"&gt;Enable Enterprise Geodatabase—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 23:42:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504929#M28601</guid>
      <dc:creator>RexRobichaux2</dc:creator>
      <dc:date>2016-06-23T23:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SDE database that was already dropped in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504930#M28602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstly, thanks to Asrujit and Rex for your assistance, I appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a reason unrelated to this issue, at the end of the day, we restarted our ArcGIS server.&amp;nbsp; We added&lt;BR /&gt;RAM and had to restart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After restarting, Tina M. (ESRI Tech) called.&amp;nbsp; We opened ArcCatalog again, to see review the situation.&amp;nbsp; This time the Enable Geodatabase text color was black again, without us doing anything.&amp;nbsp; Never the less at my request, we went through the process of dropping the database, and bringing it back in, and things worked OK.&amp;nbsp; It seems that something was amiss with the server, and when my folks restarted it, the problem cleared.&amp;nbsp; For the benefit of anyone else who finds this discussion, I will summarize and include some info, for other “newbees” like me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before starting, note that we cannot use a Basic License to do this task (from Asrujit).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(from Tina)&lt;/P&gt;&lt;P&gt;Steps to create the geodatabase.&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;Create your SQL Server database in SQL Server&lt;/LI&gt;&lt;LI&gt;Create your database connection in ArcCatalog&lt;/LI&gt;&lt;LI&gt;Enable the database as a geodatabase using ArcCatalog&lt;BR /&gt; - Open the database connection&lt;BR /&gt; - In the Catalog Tree, right-click on the database connection and select Enable Geodatabase&lt;/LI&gt;&lt;LI&gt;Register the database connection in ArcGIS for Server&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps to delete the geodatabase (the official way) -- How to clean out a database and start over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;In ArcCatalog remove the connection from the data store&lt;/LI&gt;&lt;LI&gt;In ArcCatalog, remove the database connection&lt;/LI&gt;&lt;LI&gt;In SQL Server, drop the database&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case today, what we did was…&lt;/P&gt;&lt;P&gt;- In SQL Server, just drop the table again&lt;/P&gt;&lt;P&gt;- In SQL Server, restore it from the same backup as I did before, so it had the same name as I wanted&lt;/P&gt;&lt;P&gt;- In ArcCatalog, since I still had the database connection, right-clicked on Enable Geodatabase&lt;/P&gt;&lt;P&gt;- We checked the database properties, and the table was already registered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conclusion:&amp;nbsp; What I was trying to do earlier should have worked, but something was amiss and restarting our ArcGIS server cleared that problem.&amp;nbsp; After the restart, everything worked properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 15:57:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504930#M28602</guid>
      <dc:creator>GeorgeClark</dc:creator>
      <dc:date>2016-06-24T15:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete SDE database that was already dropped in SQL Server</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504931#M28603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi George, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad to hear you were able to resolve the issue and are up and running!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 16:06:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-sde-database-that-was-already/m-p/504931#M28603</guid>
      <dc:creator>RexRobichaux2</dc:creator>
      <dc:date>2016-06-24T16:06:49Z</dc:date>
    </item>
  </channel>
</rss>

