Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_ActiveDirectory_Start

  No additional text.


Syntax
create proc sys.sp_ActiveDirectory_Start
as
begin
   /* check permissions */
   IF (not is_srvrolemember(N'sysadmin') = 1)
   begin
      raiserror(15003,-1,-1, N'sysadmin')
      return 1
   end

   /* Are we running on Windows 2000 or NT4 SP5 with AD enabled?  Continue only if TRUE */
   DECLARE @retval   INT
   EXECUTE @retval = sys.xp_MSADEnabled
   if (@retval = 0)
      begin
      /* Is the server a Standard or Enterpriser server? Continue only if TRUE */
      IF ((PLATFORM() & 0x100) <> 0x100) -- Not on Desktop or MSDE
         begin
            exec(N'sys.sp_ActiveDirectory_SCP N''create_with_db'', 1')
         end
      end
end

 
Last revision 2008RTM
News

  Query a named instance
Sybase+ASE+silent+install
SQL 2008 R2
Deprecated procedures in SQL2008
Reporting Services item-level role definitions
Create all your missing indexes
Converting datetime field
Start MSSQL Server Profiler at time
Replicating MSSQL Server views
Exploring Microsoft Sharepoint
The OLE DB provider "SQLNCLI10" for linked server indicates.
Mobile solar charger
Oracle to SQL Server replication
Cannot insert the value NULL into column
Undocumented Microsoft SQL Server 2008
VMware
Zoekmachine optimalisatie
SQL Servers hidden objects
FckEditor
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
PHP
sIFR; de combinatie tussen HTML en Flash