Skip to content

Developer's Closet

A place where I can put my code and discuss big data.

Open Application as Administrator

  • Windows
September 22, 2011December 14, 2011 kevin No comments

Simple Windows 7 trick I learned on learn.iis.net today. To open an application as an administrator from the Start Menu (apart from right clicking and […]

Continue reading

Query Size of Tables in T-SQL

  • SQL
  • Windows
August 30, 2011September 2, 2011 kevin No comments

Useful command for SQL 2005 and above to see the size of each table in a given database: USE databasename EXEC sp_MSforeachtable @command1=”EXEC sp_spaceused ‘?'” […]

Continue reading

Query the INFORMATION_SCHEMA for Table Information

  • SQL
  • Windows
August 30, 2011August 30, 2011 kevin No comments

A very useful command to query for information about a table from INFORMATION_SCHEMA. Select * From INFORMATION_SCHEMA.COLUMNS Where TABLE_NAME=’TableName’

Continue reading

Show File Stats

  • SQL
  • Windows
August 1, 2011September 20, 2013 kevin No comments

This DBCC SHOWFILESTATS command provides you with the data files for the current database that you select. DBCC SHOWFILESTATS or DBCC SHOWFILESTATS WITH NO_INFOMSGS will […]

Continue reading

WITH Syntax to Create a Temporary Table

  • SQL
  • Windows
July 28, 2011August 30, 2011 kevin No comments

The WITH (common_table_expression) command creates a temporary table that can be used in a SELECT, INSERT, UPDATE, MERGE, or DELETE statement. Very useful for creating […]

Continue reading

Return Top 1 Field in a JOIN statement

  • SQL
  • Windows
July 28, 2011 kevin No comments

This is a nice solution in that it groups the field used in the join statement. You can use this technique in many situations. I […]

Continue reading

Escalate Privileges in Windows 7

  • VBScript
  • Windows
June 27, 2011July 20, 2011 kevin No comments

Windows 7 requires you to escalate privileges before running your VBSCript. The following script reopens the script with administration privileges. If WScript.Arguments.length = 0 Then […]

Continue reading

Pass Exit Code (errorlevel) From One Batch Script to Another

  • Windows
September 21, 2010September 21, 2011 kevin No comments

It is often helpful to pass the exit code (errorlevel) from one batch script to another. You can do this using exit %errorlevel%, which closes […]

Continue reading

Multiple Commands Within a CmdExec Job Step

  • SQL
  • Windows
September 21, 2010September 21, 2011 kevin No comments

One irritating problem with the Operating System (CmdExec) SQL Job Type is that you can only run a single command. Most people get around this […]

Continue reading

Query Database Size and Unallocated Space from SQL Database

  • SQL
  • Windows
August 6, 2010August 6, 2010 kevin No comments

I created the he following stored procedure to give me a more clear look at the unallocated and unused space used by my databases. The […]

Continue reading

Posts pagination

«Previous Posts 1 … 9 10 11 12 13 … 17 Next Posts»

Pages

  • About
  • Accumulo
  • Ansible
  • Apt-Cacher
  • Azure API Management
  • Azure Cosmos DB
  • Azure Data Catalog
  • Azure Data Facory
  • Azure Data Lake Store
  • Azure Virtual Machine Scale Sets
  • Couchbase
  • Drill
  • Flume
  • HBase
  • HDFS
  • Hive
  • Hue
  • Impala
  • Kafka
  • Oozie
  • OpenTSDB: Timeseries Database
  • Redis
  • Solr
  • Sqoop
  • Yarn
  • ZooKeeper

Categories

  • Azure (1)
  • Bash (3)
  • C# (1)
  • Citrix (1)
  • Cloudera Manager (13)
    • HBase (5)
    • HDFS (4)
    • Kafka (1)
    • Solr (1)
    • Sqoop (1)
  • Continuous Delivery (1)
  • Drill (1)
  • JavaScript (3)
  • jQuery (2)
  • Linux (24)
    • Ubuntu (12)
  • MySQL (4)
  • Oracle (1)
  • PHP (5)
  • PowerShell (19)
  • SQL (48)
  • System Center (13)
    • DPM (1)
    • Ops Manager (1)
    • Orchestrator (9)
    • Virtual Machine Manager (1)
  • Uncategorized (4)
  • VBScript (19)
  • Visual Studio (4)
  • Windows (95)

Tags

Active Directory API Backup Bash Batch Connections Database Date Differential Disaster Recovery Email Event Viewer Excel Find Kill Linux Logs Microsoft MySQL Opalis Performance PHP Query Replication rsync Scheduled Tasks Script Shell Shortcut SQL SQL 2005 Stored Procedure String Sub T-SQL Table Terminate Users VBScript Windows WinZip WMI WScript wss2 wss3

Recent Posts

  • Azure Price Comparison Chart
  • HBase: ReplicationLogCleaner: Failed to get stat of replication rs node
  • HBase: Unable to start Master: TableExistsException: hbase:namespace
  • List DPM Backups
  • PowerShell Script to Query VMM

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Kevin Verhoeven
WordPress Theme: Occasio by ThemeZee.