Maintenance and Management

Technical Article

proc to order xp_enumerrorlog

  • Script

this is a quick stored procedure I put together when trying to find a log for a particular day (xp_enumerrorlogs returns the archive is as a varchar, so 1 is followed by 11, 12 etc rather than 2) sp_display_errorlogs with no parms returns output in archive id order. if the parm 'size' is passed in, […]

You rated this post out of 5. Change rating

2007-09-21

819 reads

Technical Article

Extract More Than 1000 Active Directory Accounts

  • Script

This is a simple method to load a SQL database with active directory account information without running into the 1000 record limit.  You will need to change the SERVERNAME, PORT, DATABASENAME, USERID, AND PASSWORD values in the connection strings to your own values.  You will also need to change the LDAP connection string values ('LDAP://SERVERNAME/ou=OUName,dc=host,dc=domain,dc=tld') […]

(2)

You rated this post out of 5. Change rating

2011-11-21 (first published: )

2,831 reads

Technical Article

Get User Info

  • Script

Returns database user information as a runnable script for the specified database. Great for restoring user access and permissions after a restore to a development server. Run this T-SQL script and copy the output to you favorite editor.Needed an easier way to script the user info than Enterprise Manager. Found a script by Clint Herring […]

(1)

You rated this post out of 5. Change rating

2007-07-12

843 reads

Blogs

Monday Monitor Tips: Configuring Access to the MCP Server

By

I have been experimenting with MCP servers in a few ways, including the Redgate...

The GO Barrier: Why SSMS Multi-Server Query Waits for the Slowest Connection

By

I deployed a schema change to 30 servers using multi-server query and deploy-at-low-priority. Small...

10 Things I Hate About Fabric Deployment Pipelines— And Some Alternatives

By

Fabric deployment pipelines look like they solve CI/CD for Fabric content, especially for people...

Read the latest Blogs

Forums

Alamat BCA KCU BANJARMASIN Telp:(0817825533)

By layanan_Bca88

WA CS 62 817-825-533 Jl. Lambung Mangkurat No.11-13, Kertak Baru Ulu, Kec. Banjarmasin Tengah,...

Alamat Kantor BCA KCU TARAKAN Telp:(0817825533)

By m4rt1n4

WA CS 62 817-825-533 Jl. Yos Sudarso Pantai No.08, Karang Rejo, Kec. Tarakan Bar.,...

Alamat BCA KCU PONTIANAK Telp:(0817825533)

By R4nt4u

WA CS 62 817-825-533 Jl. Jenderal Ahmad Yani No.1, Benua Melayu Darat, Kec. Pontianak...

Visit the forum

Question of the Day

Transaction Log Truncation

In SQL Server 2025, where can I find information about items that prevent or delay the transaction log truncation?

See possible answers