﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.0"><channel><title>SQLServerCentral.com Content tagged Miscellaneous</title><link>http://www.sqlservercentral.com/</link><description>Content tagged Miscellaneous posted on SQLServerCentral.com</description><language>en-us</language><ttl>360</ttl><managingEditor>sjones@sqlservercentral.com (Steve Jones)</managingEditor><item><title>Search All SQL Script Objects in All Databases for Text</title><description><![CDATA[<p>Edit the @SearchText and you can enter any text you would like to search for in SQL Objects.</p><!-- version control now (SQL Source Control) -->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/sql-development/sql-source-control/entrypage/version-control-now?utm_source=ssc&utm_medium=pubad&utm_content=version_control_now&utm_campaign=sqlsourcecontrol&utm_term=rss-20229"><img src="http://assets.red-gate.com/external/SSC/srccon68x68.gif" alt="sqlsourcecontrol"></td>   <td><strong>Get your SQL Server database under version control now!</strong><br />Version control is standard for applications, but databases haven’t caught up. So how can you bring database development up to speed? Why should you start?  <a href="http://www.red-gate.com/products/sql-development/sql-source-control/entrypage/version-control-now?utm_source=ssc&utm_medium=pubad&utm_content=version_control_now&utm_campaign=sqlsourcecontrol&utm_term=rss-20229">Find out…</a></td>  </tr> </tbody></table>
]]></description><guid>http://www.sqlservercentral.com/scripts/Stored+Procedures/65768/</guid><pubDate>Tue, 21 May 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Stored+Procedures/65768/</link></item><item><title>Function to Split Multivalued Parameter</title><description><![CDATA[<p>This Function is written to split Multivalued Parameter passed by Reporting Services 2005.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/31971/</guid><pubDate>Mon, 16 Jul 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/31971/</link></item><item><title>Effectively mapping primary key – foreign key relations</title><description><![CDATA[<p>This script maps the primary key - foreign key relations regardless if the column names are the same or not.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/61481/</guid><pubDate>Tue, 15 May 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/61481/</link></item><item><title>A Sudoku solution with set based T-SQL utilizing binary operators</title><description><![CDATA[<p>A Sudoku solution with set based T-SQL approach utilizing binary values and operators, to ease the algorithm.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/T-SQL/62978/</guid><pubDate>Wed, 21 Dec 2011 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/T-SQL/62978/</link></item><item><title>Select from stored procedure</title><description><![CDATA[<p>This terse script shows an easy (but &quot;dirty&quot; - so not advisable for production environments - rather for personal use) way to select data from stored procedure.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/62463/</guid><pubDate>Wed, 14 Dec 2011 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/62463/</link></item><item><title>Clear database - delete all records from a database (updated)</title><description><![CDATA[<p>The procedure below deletes all records from the specified database's(except master, model, msdb and tempdb) tables (except those from the schema 'sys').</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/62115/</guid><pubDate>Fri, 09 Dec 2011 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/62115/</link></item><item><title>Proc to Rename a file</title><description><![CDATA[<p>A simple way to rename a file from within a T-SQL Script, primarily designed to add a date-time stamp. Works in 2000 and 2005.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/63094/</guid><pubDate>Fri, 28 Oct 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/63094/</link></item><item><title>Generating number sequences with Common Table Expressions</title><description><![CDATA[<p>The script shows one of ways generating number sequence - this one uses CTE.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/62184/</guid><pubDate>Tue, 04 Oct 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/62184/</link></item><item><title>How to Test Connectivity for a Linked Server</title><description><![CDATA[<p>Just one way of testing for a linked server based on data within your database.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/31978/</guid><pubDate>Fri, 16 Sep 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/31978/</link></item><item><title>Locate primary key - foreign key relations</title><description><![CDATA[<p></p><!-- Consulted 1000 (SQL Monitor) -->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/dba/sql-monitor/entrypage/custom-metrics?utm_source=ssc&utm_medium=pubad&utm_content=consulted_1000&utm_campaign=sqlmonitor&utm_term=rss-20231"><img src="http://assets.red-gate.com/external/SSC/monitor_ico.gif" alt="sqlmonitor"></td>   <td><strong>Check SQL Server performance at a glance</strong><br />We consulted 1000 SQL Server professionals to make SQL Monitor’s UI as clear as possible.  <a href="http://www.red-gate.com/products/dba/sql-monitor/entrypage/custom-metrics?utm_source=ssc&utm_medium=pubad&utm_content=consulted_1000&utm_campaign=sqlmonitor&utm_term=rss-20231">Start monitoring with a free trial.</a></td>  </tr> </tbody></table>



]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/31983/</guid><pubDate>Wed, 14 Sep 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/31983/</link></item><item><title>Table row count using 3 different ways</title><description><![CDATA[<p>Three different ways that you can get the count of the rows in a table.</p><!-- machanic (SQL Comapre)-->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/sql-development/sql-compare/?utm_source=ssc&utm_medium=pubad&utm_content=machanic&utm_campaign=sqlcompare&utm_term=rss-20226"><img src="http://assets.red-gate.com/external/SSC/sqlcompare68x68.gif" alt="sqlcompare"></td>   <td><strong>Compare and sync databases with SQL Compare</strong><br />“SQL Compare is fast, extremely easy to use, full-featured and affordable. I wouldn't bother messing around with anything else.” Adam Machanic, SQL Server MVP.  <a href="http://www.red-gate.com/products/sql-development/sql-compare/?utm_source=ssc&utm_medium=pubad&utm_content=machanic&utm_campaign=sqlcompare&utm_term=rss-20226">Download a 14-day free trial.</a></td>  </tr> </tbody></table>


]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/31984/</guid><pubDate>Thu, 16 Jun 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/31984/</link></item><item><title>Get all user def table info</title><description><![CDATA[<p>Get space for all user defined table information like size and row counts.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/31992/</guid><pubDate>Mon, 06 Jun 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/31992/</link></item><item><title>Row count and space used for all tables in database (update)</title><description><![CDATA[<p>This procedure works like the sp_spaceused procedure but this one shows statistics for all tables in the selected database or for all databases (excluding tempdb and model).
</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/62468/</guid><pubDate>Wed, 25 May 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/62468/</link></item><item><title>Get the list of permissions of database object</title><description><![CDATA[<p>List permissions for an object in various ways.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/31990/</guid><pubDate>Tue, 24 May 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/31990/</link></item><item><title>Find Text in all columns of all tables in a Database</title><description><![CDATA[<p>Will find the Table Name, Column Name and the number of occurances some text appears in a database.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/65769/</guid><pubDate>Thu, 31 Mar 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/65769/</link></item><item><title>Internals and Performance class in Dallas</title><description><![CDATA[<p>&#160;
At last, my blog is starting to pay real dividends. Not only do I get the opportunity to publish my...</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/72266/</guid><pubDate>Fri, 28 Jan 2011 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/72266/</link></item><item><title>Find SQL Server TCP/IP Port Number</title><description><![CDATA[<p>Script to find the TCP/IP Port number of SQL Instance</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/67422/</guid><pubDate>Thu, 13 May 2010 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/67422/</link></item><item><title>Find SQL Server Install Date</title><description><![CDATA[<p>Script to find the SQL Server Instance Install Date</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/67724/</guid><pubDate>Fri, 07 May 2010 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/67724/</link></item><item><title>Reset count for all alerts</title><description><![CDATA[<p>To see the frequency of alerts in use, you can reset their fire count.
Restart count from zero for all alerts using the propre stored procedures.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/30665/</guid><pubDate>Tue, 22 Dec 2009 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/30665/</link></item><item><title>Find SQL Server Install Date</title><description><![CDATA[<p>Script to find the SQL Server Instance Install Date</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/67724/</guid><pubDate>Fri, 07 May 2010 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/67724/</link></item><item><title>BCP Format File Builder</title><description><![CDATA[<p>Utility stored procedure to create non-xml format file for BCP/BULK INSERT processes.  Very useful for text-qualified CSV files.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/SQL+Server+2005/67764/</guid><pubDate>Fri, 14 Aug 2009 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/SQL+Server+2005/67764/</link></item><item><title>Find SQL Server TCP/IP Port Number</title><description><![CDATA[<p>Script to find the TCP/IP Port number of SQL Instance</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/67422/</guid><pubDate>Thu, 13 May 2010 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/67422/</link></item><item><title>Prime Number Table Generator (new ver crunches to 1 Mil in &lt;10.5 sec!)</title><description><![CDATA[<p>Generates prime numbers and puts them into a table for future reference by adhoc queries and database and application code. 100% set-based. DDL embedded.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Advanced+Querying/67436/</guid><pubDate>Wed, 15 Jul 2009 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Advanced+Querying/67436/</link></item><item><title>Function to Add Leading 0's (Zeros) to an INT</title><description><![CDATA[<p>Very simple function code to add leading zeros to a passed in int for a length also passed.</p><!-- version control now (SQL Source Control) -->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/sql-development/sql-source-control/entrypage/version-control-now?utm_source=ssc&utm_medium=pubad&utm_content=version_control_now&utm_campaign=sqlsourcecontrol&utm_term=rss-20229"><img src="http://assets.red-gate.com/external/SSC/srccon68x68.gif" alt="sqlsourcecontrol"></td>   <td><strong>Get your SQL Server database under version control now!</strong><br />Version control is standard for applications, but databases haven’t caught up. So how can you bring database development up to speed? Why should you start?  <a href="http://www.red-gate.com/products/sql-development/sql-source-control/entrypage/version-control-now?utm_source=ssc&utm_medium=pubad&utm_content=version_control_now&utm_campaign=sqlsourcecontrol&utm_term=rss-20229">Find out…</a></td>  </tr> </tbody></table>
]]></description><guid>http://www.sqlservercentral.com/scripts/Data+Warehousing/65887/</guid><pubDate>Thu, 05 Mar 2009 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Data+Warehousing/65887/</link></item><item><title>Find Text in all columns of all tables in a Database</title><description><![CDATA[<p>Will find the Table Name, Column Name and the number of occurances some text appears in a database.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/65769/</guid><pubDate>Thu, 31 Mar 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/65769/</link></item><item><title>Search All SQL Script Objects in All Databases for Text</title><description><![CDATA[<p>Edit the @SearchText and you can enter any text you would like to search for in SQL Objects.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Stored+Procedures/65768/</guid><pubDate>Tue, 21 May 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Stored+Procedures/65768/</link></item><item><title>Function to Return Date and Time String for File Archiving</title><description><![CDATA[<p>This function will return a string in sortable format YYYYMMDD-hhmmssnnn to append to file names for archiving.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/65772/</guid><pubDate>Wed, 18 Feb 2009 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/65772/</link></item><item><title>Yet Another Deleting Duplicate Records (in-place)</title><description><![CDATA[<p>Here is another &quot;deleting duplicate records&quot; script, this time in-place, using a uniqueidentifier column.</p><!-- disturbing m2 (DBA Bundle) -->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/dba/dba-bundle/entrypage/hard-earned-lessons-4?utm_source=ssc&utm_medium=pubad&utm_content=disturbing_m2&utm_campaign=sqldbabundle&utm_term=rss-20233"><img src="http://assets.red-gate.com/external/SSC/top5_68x68.gif" alt="sqldbabundle"></td>   <td><strong>Top 5 hard-earned Lessons of a DBA </strong><br />New! Part 4, ‘Disturbing Development’ by Grant Fritchey, features the return of Joe Deebeeay and a server-threatening encounter with ORMs -  <a href="http://www.red-gate.com/products/dba/dba-bundle/entrypage/hard-earned-lessons-4?utm_source=ssc&utm_medium=pubad&utm_content=disturbing_m2&utm_campaign=sqldbabundle&utm_term=rss-20233">read it here</a></td>  </tr> </tbody></table>
]]></description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/65420/</guid><pubDate>Thu, 15 Jan 2009 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/65420/</link></item><item><title>Counter Table (table of numbers) Setter-Upper for SQL Server 2005</title><description><![CDATA[<p>Sets up 3 'table of numbers' that completely fill a 1, 2, and 3-level clustered index respectivly with 622, 386884, and 240641848 numbers.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/T-SQL/63957/</guid><pubDate>Wed, 06 Aug 2008 02:57:05 UT</pubDate><link>http://www.sqlservercentral.com/scripts/T-SQL/63957/</link></item><item><title>Counter Table (table of numbers) Setter-Upper for SQL Server 2000</title><description><![CDATA[<p>Sets up 3 'table of numbers' that completely fill a 1, 2, and 3-level clustered index respectivly with 620, 384400, and 238328000 numbers.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/T-SQL/63956/</guid><pubDate>Wed, 06 Aug 2008 02:50:45 UT</pubDate><link>http://www.sqlservercentral.com/scripts/T-SQL/63956/</link></item></channel></rss>