Code, Strings, and Keys

    • About Thomas Powell
    • Account
    • It’s been [0] days since [program] last updated
    • Login
    • Password Reset
    • Pianist / Accompanist / Music Director Resume
    • Reading List 2025
    • Register
    • Running Gear – Shoes, Treadmill, and Bandages
    • Site Map
Illustration of a bird flying.
  • Getting size estimates for tables in SQL SERVER 2000

    — SQL Server tables and row countsdeclare tables_cursor cursor for select name from sysobjects where xtype=’U’declare @table_name sysnameopen tables_cursorfetch next from tables_cursor INTO @table_namewhile @@fetch_status = 0begin exec sp_spaceused @table_name fetch next from tables_cursor INTO @table_nameendclose tables_cursordeallocate tables_cursor

    March 27, 2008
  • Restoredb.bat

    Using osql and trusted connection for SQL Server 2000. @echo offif {%2}=={} ( call :Usage goto :EOF)net stop mssqlservernet start mssqlserverosql -E -d master -Q “restore database %1 from disk=’%2′ with replace”goto :EOF::Subroutine area :Usage @echo Syntax: call restoredb.bat DatabaseNameFullDatabaseBackupPathgoto :EOF

    March 25, 2008
  • “Playtime” project: Porting Didiwiki to C#.NET

    I’m hoping to find time to throw at least a quick port of DidiWiki to C#.NET together. Reference 1: Creating your own Web Server using C# – This article is from 2001, so there might be a significantly better way of doing things. Update: This CodeGuru page looks like a more original version of the…

    March 7, 2008
←Previous Page
1 … 275 276 277 278 279 … 317
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress