﻿<?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 Raj Vasant / 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 12:20:17 GMT</lastBuildDate><ttl>20</ttl><item><title>Document Your Database</title><link>http://www.sqlservercentral.com/Forums/Topic333506-227-1.aspx</link><description>Comments posted here are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/rVasant/2784.asp"&gt;http://www.sqlservercentral.com/columnists/rVasant/2784.asp&lt;/A&gt;</description><pubDate>Fri, 29 Dec 2006 11:16:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>how to customize SMO script for ALTER or CREATE stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic891160-227-1.aspx</link><description>When I use SQL Server Management Studio I can define a script for creating a stored procedureEx:    USE [RM_BILLING]    GO    /****** Object:  StoredProcedure [dbo].[Insert_Affiliate_Info]    Script Date: 03/26/2010 18:03:31 ******/    SET ANSI_NULLS ON    GO    SET QUOTED_IDENTIFIER ON    GO    -- ===============================================    -- !!! Auto-Generated - Do Not Modify Directly !!!    -- Created date...: 2010-03-25 @ 10.20.35    -- Description....: Insert Affiliate_Info record    -- !!!  !!! Use tool to regenerate !!! !!!    -- ===============================================    ALTER PROCEDURE [dbo].[Insert_Affiliate_Info]    (        @affID Int,        @affName VarChar(100)    )    AS    BEGIN        INSERT INTO Affiliate_Info        (            Aff_ID,            Aff_Name        )        VALUES        (            @affID,            @affName        )    ENDI want to use SMO objects to do this via a program.The only thing I can't figure out is how to get the date stamp comments into the script to create the stored procedure    -- ===============================================    -- !!! Auto-Generated - Do Not Modify Directly !!!    -- Created date...: 2010-03-25 @ 10.20.35    -- Description....: Insert Affiliate_Info record    -- !!!  !!! Use tool to regenerate !!! !!!    -- ===============================================Any help would be greatly appreciated-Thanks in advanceDavid</description><pubDate>Fri, 26 Mar 2010 16:08:47 GMT</pubDate><dc:creator>djmarcus</dc:creator></item><item><title>how to customize SMO script for ALTER or CREATE stored procedure</title><link>http://www.sqlservercentral.com/Forums/Topic891156-227-1.aspx</link><description>When I use SQL Server Management Studio I can define a script for creating a stored procedureEx:USE [RM_BILLING]GO/****** Object:  StoredProcedure [dbo].[Insert_Affiliate_Info]    Script Date: 03/26/2010 18:03:31 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGO-- ===============================================-- !!! Auto-Generated - Do Not Modify Directly !!!-- Created date...: 2010-03-25 @ 10.20.35-- Description....: Insert Affiliate_Info record-- !!!  !!! Use tool to regenerate !!! !!!-- ===============================================ALTER PROCEDURE [dbo].[Insert_Affiliate_Info](    @affID Int,    @affName VarChar(100))ASBEGIN    INSERT INTO Affiliate_Info    (        Aff_ID,        Aff_Name    )    VALUES    (        @affID,        @affName    )END</description><pubDate>Fri, 26 Mar 2010 16:04:45 GMT</pubDate><dc:creator>djmarcus</dc:creator></item><item><title>Add multiple field values to the URL using jump to URL</title><link>http://www.sqlservercentral.com/Forums/Topic467612-227-1.aspx</link><description>I have used the jump to URL in the past and have added one field value to append at the end of the URL but now I need to add additional field values and cannot seem to get the proper syntax.  The following my URL:="http://icpweb/icp-ecl/userpages/tasklist.asp?id="&amp;Fields!PK_systemID.Value"&amp;t="&amp;Fields!PK_StatusID.ValueAny help would be greatly appreciated.Thanks Barb</description><pubDate>Tue, 11 Mar 2008 10:52:40 GMT</pubDate><dc:creator>Barbara.Morris</dc:creator></item><item><title>Custom Report Item - Part I</title><link>http://www.sqlservercentral.com/Forums/Topic467159-227-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/Reporting+Services/62065/"&gt;Custom Report Item - Part I&lt;/A&gt;[/B]</description><pubDate>Mon, 10 Mar 2008 22:36:09 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>Source Control in SQL Server</title><link>http://www.sqlservercentral.com/Forums/Topic326559-227-1.aspx</link><description>Comments posted here are about the content posted at &lt;A HREF="temp"&gt;temp&lt;/A&gt;</description><pubDate>Wed, 29 Nov 2006 15:02:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>Adding Custom Code in SSRS Chart Report</title><link>http://www.sqlservercentral.com/Forums/Topic669930-227-1.aspx</link><description>Hi I am working on SSRS chart report.I am trying to add Custom color palatte to reportFor this i am using below code     Private colorPalette As String() = {"Green", "Blue", "Red", "Orange", "Aqua", "Teal", "Gold", "RoyalBlue", "MistyRose", "LightGreen", "LemonChiffon", "LightSteelBlue", "#F1E7D6", "#E16C56", "#CFBA9B"}    Private count As Integer = 0    Private mapping As New System.Collections.Hashtable()    Public Function GetColor(ByVal groupingValue As String) As String        If mapping.ContainsKey(groupingValue) Then            Return mapping(groupingValue)        End If        Dim c As String = colorPalette(count Mod colorPalette.Length)        count = count + 1        mapping.Add(groupingValue, c)        Return c    End FunctionI copied it from below MSDN linkhttp://msdn.microsoft.com/en-us/library/aa964128.aspxCode is giving below error[BC42104] Variable 'c' is used before it has been assigned a value. A null reference exception could result at runtime.Please help me to rectify this.</description><pubDate>Thu, 05 Mar 2009 22:09:14 GMT</pubDate><dc:creator>shilpadixit</dc:creator></item><item><title>Using OpenXML</title><link>http://www.sqlservercentral.com/Forums/Topic179995-227-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/rVasant/usingopenxml.asp"&gt;http://www.sqlservercentral.com/columnists/rVasant/usingopenxml.asp&lt;/A&gt;</description><pubDate>Wed, 04 May 2005 15:04:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>Adding Custom Code To Reporting Services</title><link>http://www.sqlservercentral.com/Forums/Topic335925-227-1.aspx</link><description>Comments posted here are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/rVasant/2803.asp"&gt;http://www.sqlservercentral.com/columnists/rVasant/2803.asp&lt;/A&gt;</description><pubDate>Wed, 10 Jan 2007 11:27:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>error handling in sql</title><link>http://www.sqlservercentral.com/Forums/Topic565206-227-1.aspx</link><description>Hi can any one help me how to write an code for error handlingand how to test it.Please any one can help soon.</description><pubDate>Sun, 07 Sep 2008 22:08:20 GMT</pubDate><dc:creator>kotha_dinnu</dc:creator></item><item><title>Exception Handling in SQL Server 2005</title><link>http://www.sqlservercentral.com/Forums/Topic248571-227-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/rVasant/exceptionhandlinginsqlserver2005.asp"&gt;http://www.sqlservercentral.com/columnists/rVasant/exceptionhandlinginsqlserver2005.asp&lt;/A&gt;</description><pubDate>Thu, 05 Jan 2006 11:33:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>Making SA Work</title><link>http://www.sqlservercentral.com/Forums/Topic320991-227-1.aspx</link><description>Comments posted here are about the content posted at &lt;A HREF="temp"&gt;temp&lt;/A&gt;</description><pubDate>Tue, 07 Nov 2006 10:21:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>XML Simplified</title><link>http://www.sqlservercentral.com/Forums/Topic184264-227-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/rVasant/xmlsimplified.asp"&gt;http://www.sqlservercentral.com/columnists/rVasant/xmlsimplified.asp&lt;/A&gt;</description><pubDate>Fri, 20 May 2005 12:47:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>Distributing SQL Server Databases</title><link>http://www.sqlservercentral.com/Forums/Topic413266-227-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/Administration/61331/"&gt;Distributing SQL Server Databases&lt;/A&gt;[/B]</description><pubDate>Sun, 21 Oct 2007 23:57:04 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>Navigation Options in Reports</title><link>http://www.sqlservercentral.com/Forums/Topic440982-227-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/Reporting+Services/61715/"&gt;Navigation Options in Reports&lt;/A&gt;[/B]</description><pubDate>Wed, 09 Jan 2008 21:31:03 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>Working With SqlParameter in .NET</title><link>http://www.sqlservercentral.com/Forums/Topic260410-227-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/rVasant/workingwithsqlparameterinnet.asp"&gt;http://www.sqlservercentral.com/columnists/rVasant/workingwithsqlparameterinnet.asp&lt;/A&gt;</description><pubDate>Tue, 21 Feb 2006 14:40:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>RE:</title><link>http://www.sqlservercentral.com/Forums/Topic267584-227-1.aspx</link><description>&lt;P&gt;Hi, recently I needed to pass some null value as parameteres to a DateTime field, I was using SQL Server 2k and C# VS 2003.&lt;/P&gt;&lt;P&gt;I tried using DBNull and others values but none fo them worked for me.  &lt;/P&gt;&lt;P&gt;What I did at the end was to set a default value of null in the database field, and didn't pass the parameter when I didn't have it, of course it added a little bit of logic when building the query.&lt;/P&gt;&lt;P&gt;Is there anyway to pass null value in the param???&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Wed, 22 Mar 2006 07:56:00 GMT</pubDate><dc:creator>@puyinc</dc:creator></item><item><title>OpenXML - retrieve complete xml</title><link>http://www.sqlservercentral.com/Forums/Topic414063-227-1.aspx</link><description>Hi,I am trying to use OpenXML command in sqlserver, and i have this xml which is a little different than most examples in OpenXML related info. 	 		 			  			 				  			 			 				  			 		 			 	   "I tried to set the pointer at rcn/itm level as you see below.SELECT *FROM   OPENXML (@idoc, '/GAR/ALS/AL/RCN/it',2)WITH  (	        cd	             varchar(10)		'@cd',	        name	varchar(20)		'@name',		        ID		varchar(30)		'../../../../@ID'             	 )when i do this i am able to get the attribute values at rcn level and AL level, but i do not know how to point to ALN or LUD levelMany thanks in advance.</description><pubDate>Tue, 23 Oct 2007 13:03:13 GMT</pubDate><dc:creator>reachven</dc:creator></item><item><title>XML - Good and Bad</title><link>http://www.sqlservercentral.com/Forums/Topic283985-227-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/rVasant/xmlgoodandbad.asp"&gt;http://www.sqlservercentral.com/columnists/rVasant/xmlgoodandbad.asp&lt;/A&gt;</description><pubDate>Wed, 31 May 2006 10:25:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>Deploying Reports</title><link>http://www.sqlservercentral.com/Forums/Topic357646-227-1.aspx</link><description>Comments posted here are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/rVasant/2967.asp"&gt;http://www.sqlservercentral.com/columnists/rVasant/2967.asp&lt;/A&gt;</description><pubDate>Wed, 11 Apr 2007 14:21:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>RE:</title><link>http://www.sqlservercentral.com/Forums/Topic336119-227-1.aspx</link><description>&lt;P&gt;It's great that you mentioned the Apex product, but I would expect an "article" on the topic to do a more thorough compare-and-contrast of the many products that are out there to help a dba document his or her database. Just to mention some others:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.schematodoc.com/" target=_blank rel=nofollow&gt;http://www.schematodoc.com/&lt;/A&gt;&lt;A href="http://www.ag-software.com/" target=_blank rel=nofollow&gt;http://www.ag-software.com&lt;/A&gt;&lt;A href="http://www.dbdesc.com/" target=_blank rel=nofollow&gt;http://www.dbdesc.com&lt;/A&gt;&lt;/P&gt;</description><pubDate>Thu, 11 Jan 2007 05:13:00 GMT</pubDate><dc:creator>Robert Bedick</dc:creator></item><item><title>Source Control in Management Studio</title><link>http://www.sqlservercentral.com/Forums/Topic326556-227-1.aspx</link><description>Comments posted here are about the content posted at &lt;A HREF="temp"&gt;temp&lt;/A&gt;</description><pubDate>Wed, 29 Nov 2006 14:57:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>Querying System Tables</title><link>http://www.sqlservercentral.com/Forums/Topic185857-227-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/rVasant/queryingsystemtables.asp"&gt;http://www.sqlservercentral.com/columnists/rVasant/queryingsystemtables.asp&lt;/A&gt;</description><pubDate>Fri, 27 May 2005 17:56:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>ConnectionStringBuilders in .NET 2.0</title><link>http://www.sqlservercentral.com/Forums/Topic293964-227-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/rVasant/connectionstringbuildersinnet20.asp"&gt;http://www.sqlservercentral.com/columnists/rVasant/connectionstringbuildersinnet20.asp&lt;/A&gt;</description><pubDate>Wed, 12 Jul 2006 20:33:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>RE:</title><link>http://www.sqlservercentral.com/Forums/Topic284804-227-1.aspx</link><description>Your mama told you not to touch the stove .. it was hot &lt;img src='images/emotions/biggrin.gif' height='20' width='20' border='0' title='Big Grin' align='absmiddle'&gt;</description><pubDate>Mon, 05 Jun 2006 06:02:00 GMT</pubDate><dc:creator>Del Murray</dc:creator></item><item><title>Script Database Objects with SMO</title><link>http://www.sqlservercentral.com/Forums/Topic268337-227-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/rVasant/scriptdatabaseobjectswithsmo.asp"&gt;http://www.sqlservercentral.com/columnists/rVasant/scriptdatabaseobjectswithsmo.asp&lt;/A&gt;</description><pubDate>Fri, 24 Mar 2006 10:19:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>Using OpenXML Part II</title><link>http://www.sqlservercentral.com/Forums/Topic254974-227-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/rVasant/usingopenxmlpartii.asp"&gt;http://www.sqlservercentral.com/columnists/rVasant/usingopenxmlpartii.asp&lt;/A&gt;</description><pubDate>Wed, 01 Feb 2006 09:16:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>Working With SqlParameter in .NET</title><link>http://www.sqlservercentral.com/Forums/Topic260408-227-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/rVasant/workingwithsqlparameterinnet.asp"&gt;http://www.sqlservercentral.com/columnists/rVasant/workingwithsqlparameterinnet.asp&lt;/A&gt;</description><pubDate>Tue, 21 Feb 2006 14:38:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item><item><title>Manipulating Text Variables</title><link>http://www.sqlservercentral.com/Forums/Topic215145-227-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/rVasant/manipulatingtextvariables.asp"&gt;http://www.sqlservercentral.com/columnists/rVasant/manipulatingtextvariables.asp&lt;/A&gt;</description><pubDate>Mon, 29 Aug 2005 21:11:00 GMT</pubDate><dc:creator>Vasant Raj</dc:creator></item></channel></rss>
