Pitching Drills  

Posted by ReelTym


Cat Osterman and Jennie Finch Tips  

Posted by ReelTym


2011 District 9 Junior All Start Fast Pitch Softball Tournament  

Posted by ReelTym

Using PATINDEX to find character in a string.  

Posted by ReelTym

declare @test table ( id int identity(1,1) primary key clustered, value varchar(10) )

insert into @test (value)
    select null union all
    select '' union all
    select '1' union all
    select '-' union all
    select '1.2' union all
    select '1,23' union all
    select ',' union all
    select '.'

select * from @test where patindex( '%[,.-]%', value ) > 0

-- Should return

id          value
----------- ----------
4           -
5           1.2
6           1,23
7           ,
8           .

Connor vs. SQL  

Posted by ReelTym

Blog on various SQL tuning and internals topics.

DtDNS IP Updater CMD Script  

Posted by ReelTym

Filename: update.cmd

@echo off
cd /d %~dp0
echo ----------------------------- GETTING IP -----------------------------
wget "http://myip.dtdns.com" -o getip.log
type getip.log
del getip.log
if exist index.html (
  set /p MYIP=<index.html
  echo MYIP=%MYIP%
  del index.html
  echo ----------------------------- SETTING IP -----------------------------
  wget "http://www.dtdns.com/api/autodns.cfm?id={domain}&pw={password}&ip=%MYIP%" -o setip.log
  if exist "autodns.cfm*" del autodns.cfm*
  type setip.log
  del setip.log
)

2011/07/05-07 All Stars Practices  

Posted by ReelTym

07/05/11, practice, 6:00 to 8:00 at EHS
07/06/11, practice game, 6:30 to 8:30 at EHS
07/07/11, practice, 6:00 to 8:00 at EHS