Justin Cooney
Web Development Tips and Examples
Category: Transact-SQL
-
In this example I will show how to write a T-SQL routine that scripts any stored procedures in your database that have been modified in the past three days. You should, of course, modify this time filter as you see fit. This T-SQL routine is useful to extend the scripting option built into SQL Server…
-
When you are working with Active Directory on your network, then it can be difficult to get a clear picture for how your particular instance of Active Directory is structured. I’ve been writing T-SQL LDAP queries using ADSI OPENQUERY and have been having fun trying to find where some of the values I’m looking for are…
-
In this article I will expand on an article I wrote earlier about how to search through all of the columns in each table in your database for a particular piece of information. In the example in this article I have: Modified my previous example query to search through columns of all datatypes rather than…