Skip to content

David Costello

dmcostello.com

  • Home
  • About
  • Articles
    • Internet
    • Programming
    • Uncategorised
  • Projects
  • Resources
    • Downloads
    • Links
  • Contact

Month: March 2018

Code scraps: Find a local Windows Machine Name from IP Address (on Windows)

20th March 2018 @davidcostello42

Here’s a quick code scrap to return the Machine Name for a Windows system on a local network using the Windows Command Line. nbtstat -a <ip address> This will return output […]

 Uncategorised  Leave a comment

Truncating a T-SQL (SQL Server) table with foreign keys

8th March 20188th March 2018 @davidcostello42

Here’s a quick reminder on how to best truncate and reset primary keys on a table in Microsoft SQL Server that has foreign keys defined. DELETE FROM [TableName] DBCC CHECKIDENT […]

 Uncategorised  Leave a comment

Search

Archives

  • January 2021
  • October 2020
  • March 2019
  • January 2019
  • December 2018
  • October 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • March 2017
  • February 2017
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • June 2014
Proudly powered by WordPress | Theme: Moesia by aThemes