Search 
Friday, July 30, 2010 ..:: Examples » Dynamic TSQL ::.. Register  Login
 Dynamic TSQL
Maximum Usage Length for Each Column in a Table - Sunday, April 06, 2008
This example was goes through a table and calculates the maximum size of each column in table, and then displays the results.
 read more ...

Displaying Smallest Row In Table - Friday, March 21, 2008
This code displays the smallest row in table.  This code will work for any table.  It works by building dynamic SQL.
 read more ...

Display the Largest Row in Table - Tuesday, March 18, 2008
This example will display the largest row in table.  This code will work on any table.  It does this by dynamically generating the code.
 read more ...

Finding the Size of the Largest Row in Table - Thursday, March 13, 2008
This example determines the size of the largest row in a table. This script will work for any table.
 read more ...

Set Variable In Calling Code Using sp_execute - Wednesday, December 19, 2007
This objective of this code is to return a variable to the calling code. In this example the numbers of records for a given table is returned to the calling code.
 read more ...


  
SQL Tools Heaven
Exceptional DBA
SQL Compare
Copyright 2007, 2008 by SQLServerExamples.com   Terms Of Use  Privacy Statement