Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Column Name Search

Posted on February 25, 2013February 8, 2016 By David Kittell

An extension of Table/View Column Information

In the event that you need to find a table that has a specific column name.

SELECT
	t.name AS table_name,
	SCHEMA_NAME(schema_id) AS schema_name,
	c.name AS column_name
FROM
	sys.tables AS t
	INNER JOIN sys.columns c ON t.OBJECT_ID = c.OBJECT_ID
WHERE
	c.name LIKE '%requestNumber%'
ORDER BY
	schema_name,
	table_name;
Originally Posted on February 25, 2013
Last Updated on February 8, 2016
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code MSSQL - Audit

Post navigation

Previous post
Next post

Related Posts

Flash Video

Posted on September 3, 2013October 26, 2015

<script language="JavaScript" type="text/javascript"> // <![CDATA[ var fo = new FlashObject("../flash/videoPlayer.swf", "foo", "455","400", "8.0.22", "#ffffff", true); fo.addParam("wmode", "transparent"); fo.addParam("quality","high"); fo.addParam("align","middle"); fo.addParam("salign",""); fo.addParam("scale","noscale"); fo.addParam("allowScriptAccess","sameDomain"); //flash vars that need to be passed into the flash movie … fo.addVariable(‘userId’, ‘public’); fo.addVariable(‘videoId’, ‘HealthClips/hc_ca_00053_en’); fo.addVariable(‘skinName’,’../flash/haloSkin_1.swf’); fo.addVariable(‘bufferTime’, ‘3’); fo.addVariable(‘autoRewind’, ‘true’); fo.addVariable("autoPlay", "true"); fo.addVariable(‘streamId’, ‘HealthClips/hc_ca_00053_en’); fo.write("flashcontent"); // ]]>…

Read More

Bash – Rename Picture

Posted on November 15, 2022August 17, 2024

for f in *.HEIC; do mv -v "$f" "${f%.HEIC}.heic" done # 1 set -eu -o pipefail # 2 count=$(find . -depth 1 -name "*.heic" | wc -l | sed ‘s/[[:space:]]*//’) echo "converting $count files .heic files to .jpg" # 3 magick mogrify -monitor -format jpg *.heic # 4 echo "Remove…

Read More

Read Text File Line By Line

Posted on September 18, 2013October 26, 2015

Public Class ReadFromFile Shared Sub Main() Dim sFileName As String Dim srFileReader As System.IO.StreamReader Dim sInputLine As String sFileName = "test.txt" srFileReader = System.IO.File.OpenText(sFileName) sInputLine = srFileReader.ReadLine() Do Until sInputLine is Nothing System.Console.WriteLine(sInputLine) sInputLine = srFileReader.ReadLine() Loop End Sub End Class Originally Posted on September 18, 2013Last Updated on October…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
©2025 David Kittell | WordPress Theme by SuperbThemes