| Login

Search this Blog


Links I like to keep around




Here are the most recent postings to this blog. Use the archive calendar or search to find other entries.
Author:R TeachoutCreated:6/15/1999 6:20 AM
Ramblings, SQL Scriptlets, VBS Scriptlets, Linux Stuff, and more!

By R Teachout on 5/21/2008 7:48 PM

incredible useful little script does is generate a series of insert or update statements for the rows in a table Read More »

By R Teachout on 4/14/2008 1:11 PM

MSSQL Scripts to do this.. (Set Identity Insert) Read More »

By R Teachout on 4/3/2008 3:52 PM

Just run this query, which will build a list of commands you can put into a batch file, and execute! Read More »

By R Teachout on 3/31/2008 4:44 PM

Just a SQL Script Hack to make it easier to do a restore. Or just a quick way to add the same username on MANY MANY (ALL) databases at once. Read More »

By R Teachout on 3/7/2008 12:03 AM

SELinux is a set of extra security restrictions on top of the normal Linux security tools. It gives the systems administrator a finer grain of control than what the kernel typically provides. But SELinux can sometimes get in your way. For example, I have had typical services, such as Apache, appear to start up correctly, but remain inaccessible from the outside world because I forgot to allow the apache user rights to open that port or maybe my distro forgot about it. Before you turn off SELinux make sure you know why you are turning it off and the security concerns you might be opening yourself up to. Read More »

By R Teachout on 3/6/2008 5:48 PM

Linux tool to set the duplex settings on your network card. Read More »

By R Teachout on 3/6/2008 5:19 PM

Ever had a remote SSH connection where you were doing an upgrade (say to asterisk or pbxinaflash, etc) and you lost your internet connection, which killed your ssh session, and stopped your compile, leaving your system in a horribly unusable state? NEVER AGAIN! That is what I use screen for! Read More »

By R Teachout on 3/2/2008 1:52 PM

If you haven't already tried freepbx, you should!! Read More »

By R Teachout on 2/26/2008 7:00 PM

Where: Historic Charleston, SC When: February 27-29th, 2008 (and evening reception February 26th) Read More »

By R Teachout on 1/18/2008 12:41 PM

SELECT dbid FROM master.dbo.sysdatabases WHERE name = 'database_name' Read More »

By R Teachout on 1/15/2008 1:03 PM

Need to make a clone of a database structure, but have too many procedures/functions/tables to do it all manually? I believe this is a good answer to that problem: Read More »

By R Teachout on 1/7/2008 6:27 PM

EXEC sp_MSforeachtable "exec sp_spaceused '?'" Read More »

By R Teachout on 12/31/2007 11:03 AM

Use this SQL server script from the SQL query window to rename an existing database. The script below will place the database in single user mode then rename the device and put then new device name back into multi user mode for use. Read More »

By R Teachout on 12/12/2007 6:10 PM

Run a query against sysprocesses to figure out what is going on on a SQL Server Read More »

By R Teachout on 11/27/2007 12:55 PM

qwista / rwinsta command line tools Read More »

By R Teachout on 11/27/2007 12:52 PM

Configuration Options for an RDP file (which is really a txt document). Read More »

By R Teachout on 11/22/2007 3:23 AM

If you haven't already checked this software out.. you should. The ultimate enterprise email software Read More »

By R Teachout on 10/23/2007 10:06 AM

If you have access to your Imail registry, and need to decrypt the hash passwords in order to convert to another (better) mail software, here's what you would need to know.... Read More »

By R Teachout on 9/23/2007 3:31 PM

Exception from HRESULT: 0xC0010014 (Microsoft.SqlServer.DTSRuntimeWrap) Read More »

By R Teachout on 9/23/2007 3:20 PM

Search error log for "Return value 3" and trace to find out what you're missing, then install that, then go with it. Read More »

By R Teachout on 9/4/2007 11:43 AM

ex: ./SiteCode to ./Backup-YYYY-MM-DD-WKD Read More »

By R Teachout on 8/22/2007 3:01 PM

set VAR=%VAR:/=-% would replace any / with - in a variable.. Read More »

By R Teachout on 8/5/2007 5:09 PM

Found this article, and have had to search this out each time, so this time I'm blogging it so I don't have to find it again.. besides, others may like it.. How To Add the "Export To Excel" option To Internet Explorer if it isn't there, but excel is installed. Read More »

By R Teachout on 7/26/2007 3:20 PM

For example a service left over rootkitreveler or psexec service like ASHDBDK linked to a non-existant temp file in the users temp directory (sysinternals services) using SC Read More »

By R Teachout on 6/28/2007 10:31 AM

SET UtilPath=%~dp0 Read More »


Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin

Inspired by Nina