﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by James Travis / Article Discussions / Article Discussions by Author </title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 24 May 2012 14:10:05 GMT</lastBuildDate><ttl>20</ttl><item><title>ISNull Not working</title><link>http://www.sqlservercentral.com/Forums/Topic812342-80-1.aspx</link><description>SELECT OrgCode AS UnitState , OrgCode As State, IsNull(Count(*), 0) As [SLRP Approved] 		 FROM  tLookup_StateTable LKState Left Join dbo.tbl_Status_Of_ContractRequests_By_State TBL  on LKState.OrgCode = TBL.UnitState Inner Join          dbo.tblContracts C ON C.Contract_ID = TBL.TrackingID  				LEFT OUTER JOIN dbo.tLookup_Incentive Lkp ON C.IT_CODE = Lkp.IT_ID              		Where (TBL.APPROVED &amp;gt; 0) AND (TBL.VERIFIED = 0) AND (TBL.[VERIFICATION FAILED] = 0) AND (TBL.[SYS VERIF - LOSS] = 0) AND (C.ContractStatus = 'A') AND C.IT_Code = 'S'        Group By OrgCodeI expect the above code to list all the states and when the count for a particular state is null replace it with zero, but this is not working</description><pubDate>Mon, 02 Nov 2009 06:38:28 GMT</pubDate><dc:creator>Faye Fouladi</dc:creator></item><item><title>Is there any difference between a NULL and a Blank field in MS SQL</title><link>http://www.sqlservercentral.com/Forums/Topic585323-80-1.aspx</link><description>My question is, is there any difference between a NULL and a Blankfield in MS SQL or are they the same?I have faced some problems while retrieving the records from the database.How to overcome......Any one helpThanks Shameer</description><pubDate>Tue, 14 Oct 2008 04:20:00 GMT</pubDate><dc:creator>shameersinbox</dc:creator></item><item><title>I want to dispaly 0 when the resultset of count(*) is zero</title><link>http://www.sqlservercentral.com/Forums/Topic828356-80-1.aspx</link><description>When Select Count(*) From Tbltracking where Year(DateStamp) = 2009 returns no records I want to display 0 for the count.hint:there is All/Distinct clause I may have to use?</description><pubDate>Thu, 03 Dec 2009 10:27:06 GMT</pubDate><dc:creator>Faye Fouladi</dc:creator></item><item><title>When resultset of count is nothing</title><link>http://www.sqlservercentral.com/Forums/Topic812366-80-1.aspx</link><description>When trying to get the count of records where a certain condition is met and the no records are returned (no records meet the condition), how do I dispaly zero for that particualr group of records?</description><pubDate>Mon, 02 Nov 2009 07:28:21 GMT</pubDate><dc:creator>Faye Fouladi</dc:creator></item><item><title>Find a string in DB objects.</title><link>http://www.sqlservercentral.com/Forums/Topic405111-80-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Miscellaneous/30184/"&gt;Find a string in DB objects.&lt;/A&gt;[/B]</description><pubDate>Mon, 01 Oct 2007 10:02:22 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>Understanding the difference between IS NULL and = NULL</title><link>http://www.sqlservercentral.com/Forums/Topic8731-80-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF=http://www.sqlservercentral.com/columnists/jtravis/understandingthedifferencebetweenisnull.asp&gt;http://www.sqlservercentral.com/columnists/jtravis/understandingthedifferencebetweenisnull.asp&lt;/A&gt;</description><pubDate>Wed, 11 Dec 2002 00:00:00 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>Update existing user accounts default language.</title><link>http://www.sqlservercentral.com/Forums/Topic410369-80-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Miscellaneous/30325/"&gt;Update existing user accounts default language.&lt;/A&gt;[/B]</description><pubDate>Sat, 13 Oct 2007 12:32:40 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>Get the current state of triggers.</title><link>http://www.sqlservercentral.com/Forums/Topic409844-80-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Miscellaneous/30336/"&gt;Get the current state of triggers.&lt;/A&gt;[/B]</description><pubDate>Fri, 12 Oct 2007 00:53:54 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>Get total file size of backup for last full backup</title><link>http://www.sqlservercentral.com/Forums/Topic408241-80-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Miscellaneous/30338/"&gt;Get total file size of backup for last full backup&lt;/A&gt;[/B]</description><pubDate>Mon, 08 Oct 2007 17:56:52 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>Convert a given date to GMT</title><link>http://www.sqlservercentral.com/Forums/Topic407644-80-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Miscellaneous/30158/"&gt;Convert a given date to GMT&lt;/A&gt;[/B]</description><pubDate>Fri, 05 Oct 2007 18:39:56 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>File create/modified/accessed date w/out scripting</title><link>http://www.sqlservercentral.com/Forums/Topic405088-80-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Miscellaneous/30261/"&gt;File create/modified/accessed date w/out scripting&lt;/A&gt;[/B]</description><pubDate>Mon, 01 Oct 2007 09:23:13 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>Remove old DTS Package versions</title><link>http://www.sqlservercentral.com/Forums/Topic404826-80-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Miscellaneous/30603/"&gt;Remove old DTS Package versions&lt;/A&gt;[/B]</description><pubDate>Sun, 30 Sep 2007 21:27:42 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>UDF to get first date or trim time for Datepart.</title><link>http://www.sqlservercentral.com/Forums/Topic404680-80-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Miscellaneous/30774/"&gt;UDF to get first date or trim time for Datepart.&lt;/A&gt;[/B]</description><pubDate>Sun, 30 Sep 2007 08:12:44 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>Rename User Login</title><link>http://www.sqlservercentral.com/Forums/Topic404629-80-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Miscellaneous/30178/"&gt;Rename User Login&lt;/A&gt;[/B]</description><pubDate>Sun, 30 Sep 2007 02:35:37 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>How to get last restore date and orginal DBName.</title><link>http://www.sqlservercentral.com/Forums/Topic404597-80-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Miscellaneous/30262/"&gt;How to get last restore date and orginal DBName.&lt;/A&gt;[/B]</description><pubDate>Sat, 29 Sep 2007 22:56:25 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>Get users permissions with mapping thru role.</title><link>http://www.sqlservercentral.com/Forums/Topic404371-80-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Miscellaneous/30268/"&gt;Get users permissions with mapping thru role.&lt;/A&gt;[/B]</description><pubDate>Sat, 29 Sep 2007 06:31:35 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>Converting money to the word value.</title><link>http://www.sqlservercentral.com/Forums/Topic404365-80-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Miscellaneous/30259/"&gt;Converting money to the word value.&lt;/A&gt;[/B]</description><pubDate>Sat, 29 Sep 2007 06:20:39 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>Pivot Data based on Unknown Field Items</title><link>http://www.sqlservercentral.com/Forums/Topic401408-80-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Miscellaneous/30204/"&gt;Pivot Data based on Unknown Field Items&lt;/A&gt;[/B]</description><pubDate>Sat, 22 Sep 2007 08:26:41 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>Hidden Dangers!</title><link>http://www.sqlservercentral.com/Forums/Topic113982-80-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF=http://www.sqlservercentral.com/columnists/jtravis/hiddendangers.asp&gt;http://www.sqlservercentral.com/columnists/jtravis/hiddendang</description><pubDate>Fri, 30 Apr 2004 15:20:00 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>Review of Guru's Guide to SQL Server Architecture and Internals</title><link>http://www.sqlservercentral.com/Forums/Topic109788-80-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF=http://www.sqlservercentral.com/columnists/jtravis/reviewofgurusguidetosqlserverarchitectureandintern.asp&gt;http://www.sqlservercent</description><pubDate>Sun, 04 Apr 2004 07:00:00 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>PASS Summit 2004 - Another Look</title><link>http://www.sqlservercentral.com/Forums/Topic141558-80-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF=http://www.sqlservercentral.com/columnists/jtravis/passsummit2004anotherlook.asp&gt;http://www.sqlservercentral.com/columnists/jtravi</description><pubDate>Wed, 13 Oct 2004 11:28:00 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>What is the search order for Procedures prefixed sp_?</title><link>http://www.sqlservercentral.com/Forums/Topic8134-80-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF=http://www.sqlservercentral.com/columnists/jtravis/sp_performance.asp&gt;http://www.sqlservercentral.com/columnists/jtravis/sp_performance.asp&lt;/A&gt;</description><pubDate>Tue, 12 Nov 2002 00:00:00 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>Review of Programming Microsoft SQL Server 2000 with Microsoft Visual</title><link>http://www.sqlservercentral.com/Forums/Topic106283-80-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF=http://www.sqlservercentral.com/columnists/jtravis/reviewofprogrammingmicrosoftsqlserver2000withmicro.asp&gt;http://www.sqlservercent</description><pubDate>Mon, 15 Mar 2004 18:07:00 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>How to Fix Inconsistent Metadata Errors</title><link>http://www.sqlservercentral.com/Forums/Topic2745-80-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF=http://www.sqlservercentral.com/columnists/jtravis/changingcolumn.asp&gt;http://www.sqlservercentral.com/columnists/jtravis/changingcolumn.asp&lt;/A&gt;</description><pubDate>Sun, 24 Feb 2002 00:00:00 GMT</pubDate><dc:creator>Antares686</dc:creator></item><item><title>Backup and Restore of a single table</title><link>http://www.sqlservercentral.com/Forums/Topic9083-80-1.aspx</link><description>In SQL Server 6.5 version, it is possible to backup and load a single table from the backup of full dump file.Do any DBA knows how to backup and load a single table?</description><pubDate>Fri, 03 Jan 2003 12:59:00 GMT</pubDate><dc:creator>control</dc:creator></item><item><title>Copying permissions from one user to another</title><link>http://www.sqlservercentral.com/Forums/Topic8310-80-1.aspx</link><description>Hello,Can Anybody help me with a script for copying all permissions on database objects from one user to another (tables/views/Sp).? </description><pubDate>Wed, 20 Nov 2002 11:03:00 GMT</pubDate><dc:creator>jcfilth</dc:creator></item></channel></rss>
