<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>clintz</title><link>http://thespoke.net/blogs/clintz/default.aspx</link><description /><dc:language>en-US</dc:language><generator>CommunityServer 1.1 (Build: 1.1.0.50602)</generator><item><title>  P114 million worth 3 letter word</title><link>http://thespoke.net/blogs/clintz/archive/2006/05/22/958752.aspx</link><pubDate>Tue, 23 May 2006 03:38:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:958752</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/958752.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=958752</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana color=#000080 size=1&gt;This is what happens when your manager doesn't know anything about software development. &lt;/FONT&gt;&lt;FONT face=Verdana color=#000080 size=1&gt;My first project here in my new company was in a rush and had to be finished in 3 months, so after my supervisor explained to me the details I proceeded with the development at once. This new project of mine by the way was already at its 3rd phase when i started. I just replaced the old programmer after she resigns at the middle of the project development. During the development, my manager told&amp;nbsp;me that the system must be launched in a month so i was freaked out coz i know this project has a 3-month development time. After i explained it to my manager, she told that the client was rushing her and she promised the client that the system (my project) will be done in a month. So i worked all night and day and sleeping only atmost&amp;nbsp;3 hours. And thank God I finished the System 2 days before the deadline. And the problem starts here. I told my manager that it must be tested thoroughly and have a test run for atleast ten days. But after the quality testing and fixing some bugs found, the system was deployed after doing some test runs on two days. After a few days, they've found some minor bugs and its not a big problem. Two months after, i've received no feedbacks or error reports on the system and think that the system was running smoothly when one day our client drop a line and told my manager that their profit loss not just a little but 114 million pesos starting when the day they used the system i've developed. After that, our client stopped the system from operating until the problem has been solved. After reviewing the business rules of the system, i've found out that one SP has an extra word "NOT" in the WHERE statement. So instead of getting the correct data, the reverse are the one which are computed and returned. When I told my supervisor about this, he laugh at me and told me that that 3 letter word killed your whole System. After that incident, my manager (accounting graduate) started listening to her developers and studied how the software development works. And I learned also that its not just the error that pops up that we should check, more importantly, we should check and check and check if the data that were produced was correct specialy when it has a financial concern..&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#000080 size=1&gt;After this incident, i was too carefull when modifying objects on database..&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=958752" width="1" height="1"&gt;</description></item><item><title>T-SQL: Calendar</title><link>http://thespoke.net/blogs/clintz/archive/2005/12/21/926607.aspx</link><pubDate>Wed, 21 Dec 2005 22:27:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:926607</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/926607.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=926607</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=1&gt;/************************************************************&lt;BR&gt;&amp;nbsp;Name : Clintz_SP_Calendar&lt;BR&gt;&amp;nbsp;Purpose: hmmmmmm&lt;BR&gt;&amp;nbsp;Created: 12212005&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;************************************************************/&lt;BR&gt;create procedure Clintz_SP_Calendar &lt;BR&gt;&amp;nbsp;@Month int = ''&lt;BR&gt;&amp;nbsp;, @Year int = ''&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;as&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;if @Month = ''&lt;BR&gt;&amp;nbsp;set @Month = month(getdate())&lt;BR&gt;if @Year = ''&lt;BR&gt;&amp;nbsp;set @Year = year(getdate())&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;declare @tblCalendar table (WeekNum int, Sunday int, Monday int, Tuesday int, Wednesday int, Thursday int, Friday int, Saturday int)&lt;BR&gt;declare @PassedDate datetime, @DayName varchar(50)&lt;BR&gt;declare @LastDayOfMonth int, @WeekNum int, @LastMonthWeekNum int, @cntr int&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;insert into @tblCalendar (WeekNum)&lt;BR&gt;select 1 union all select 2 union all select 3 union all select 4 union all select 5 union all select 6&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;set @PassedDate = convert(varchar, @Month) +'/1/' + convert(varchar, @Year)&lt;BR&gt;set @LastDayOfMonth = day(dateadd(d, -1, dateadd(m, 1, @PassedDate)))&lt;BR&gt;set @LastMonthWeekNum = datename(wk, dateadd(d, -1, @PassedDate))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;set @cntr = 0&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;while @cntr &amp;lt; @LastDayOfMonth&lt;BR&gt;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;set @DayName = datename(dw, dateadd(d, @cntr, @PassedDate))&lt;BR&gt;&amp;nbsp;&amp;nbsp;set @WeekNum = datename(wk, dateadd(d, @cntr, @PassedDate)) - @LastMonthWeekNum + 1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if @WeekNum &amp;lt; 0 &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set @WeekNum = datename(wk, dateadd(d, @cntr, @PassedDate)) &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;if @DayName = 'Sunday'&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;update @tblCalendar &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set Sunday = @cntr + 1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;where WeekNum = @WeekNum&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;BR&gt;&amp;nbsp;&amp;nbsp;if @DayName = 'Monday'&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;update @tblCalendar &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set Monday = @cntr + 1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;where WeekNum = @WeekNum&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;BR&gt;&amp;nbsp;&amp;nbsp;if @DayName = 'Tuesday'&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;update @tblCalendar &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set Tuesday = @cntr + 1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;where WeekNum = @WeekNum&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;BR&gt;&amp;nbsp;&amp;nbsp;if @DayName = 'Wednesday'&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;update @tblCalendar &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set Wednesday = @cntr + 1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;where WeekNum = @WeekNum&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;BR&gt;&amp;nbsp;&amp;nbsp;if @DayName = 'Thursday'&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;update @tblCalendar &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set Thursday = @cntr + 1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;where WeekNum = @WeekNum&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;BR&gt;&amp;nbsp;&amp;nbsp;if @DayName = 'Friday'&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;update @tblCalendar &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set Friday = @cntr + 1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;where WeekNum = @WeekNum&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;BR&gt;&amp;nbsp;&amp;nbsp;if @DayName = 'Saturday'&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;update @tblCalendar &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set Saturday = @cntr + 1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;where WeekNum = @WeekNum&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;&amp;nbsp;set @cntr = @cntr + 1&lt;BR&gt;&amp;nbsp;end&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;select datename(m, @PassedDate) as [Month], datename(yyyy, @PassedDate) as [Year]&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;select isnull(convert(varchar, Sunday), '') as Sunday&lt;BR&gt;&amp;nbsp;&amp;nbsp;, isnull(convert(varchar, Monday), '') as Monday&lt;BR&gt;&amp;nbsp;&amp;nbsp;, isnull(convert(varchar, Tuesday), '') as Tuesday&lt;BR&gt;&amp;nbsp;&amp;nbsp;, isnull(convert(varchar, Wednesday), '') as Wednesday&lt;BR&gt;&amp;nbsp;&amp;nbsp;, isnull(convert(varchar, Thursday), '') as Thursday&lt;BR&gt;&amp;nbsp;&amp;nbsp;, isnull(convert(varchar, Friday), '') as Friday&lt;BR&gt;&amp;nbsp;&amp;nbsp;, isnull(convert(varchar, Saturday), '') as Saturday&lt;BR&gt;&amp;nbsp;from @tblCalendar&lt;BR&gt;&amp;nbsp;where (isnull(Sunday, 0) + isnull(Monday, 0) + isnull(Tuesday, 0) + &lt;BR&gt;&amp;nbsp;&amp;nbsp;isnull(Wednesday, 0) + isnull(Thursday, 0) + isnull(Friday, 0) + &lt;BR&gt;&amp;nbsp;&amp;nbsp;isnull(Saturday, 0)) &amp;gt; 0&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;/*&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;sp_calendar 10, 1999&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;*/&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=926607" width="1" height="1"&gt;</description></item><item><title>T-SQL: SP to Import Excel file to MSSQL</title><link>http://thespoke.net/blogs/clintz/archive/2005/12/02/922195.aspx</link><pubDate>Sat, 03 Dec 2005 00:17:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:922195</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/922195.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=922195</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=1&gt;create procedure SP_ImportExcelFile(&lt;BR&gt;&amp;nbsp;@Source varchar(1000)&lt;BR&gt;&amp;nbsp;, @SourceSheet varchar(100)&lt;BR&gt;&amp;nbsp;, @DestinationTable varchar(100))&lt;BR&gt;as &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;declare @retval int&lt;BR&gt;--check if file exists&lt;BR&gt;EXEC master..xp_fileexist @Source, @retval output&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;if @retval = 0&lt;BR&gt;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;print 'file does not exist.'&lt;BR&gt;&amp;nbsp;&amp;nbsp;return&lt;BR&gt;&amp;nbsp;end&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;-- check if worksheet exists and if not use Sheet1&lt;BR&gt;if @SourceSheet is null or @SourceSheet = ''&lt;BR&gt;&amp;nbsp;set @SourceSheet = '[Sheet1$]'&lt;BR&gt;else&lt;BR&gt;&amp;nbsp;set @SourceSheet = '[' + ltrim(rtrim(@SourceSheet)) + '$]'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;if @DestinationTable is null or @DestinationTable = ''&lt;BR&gt;&amp;nbsp;set @DestinationTable = substring(@SourceSheet, 2, len(@SourceSheet) - 3) + convert(varchar, getdate(), 126)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;exec('select * into [' + @DestinationTable + '] from openrowset(''Microsoft.Jet.OLEDB.4.0'', ''Excel 8.0;HDR=YES;Database=' + @Source + ''', ' + @SourceSheet + ')')&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=922195" width="1" height="1"&gt;</description></item><item><title>T-SQL: Adding description to columns</title><link>http://thespoke.net/blogs/clintz/archive/2005/12/01/921957.aspx</link><pubDate>Fri, 02 Dec 2005 00:39:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:921957</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/921957.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=921957</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=1&gt;use the &lt;STRONG&gt;sp_addextendedproperty&lt;/STRONG&gt;&amp;nbsp;SP to add description to a column.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;&lt;FONT face=Verdana&gt;&lt;STRONG&gt;sp_addextendedproperty&lt;BR&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[ &lt;B&gt;@name = &lt;/B&gt;] { &lt;B&gt;'&lt;/B&gt;&lt;I&gt;property_name&lt;/I&gt;&lt;B&gt;' &lt;/B&gt;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[ &lt;B&gt;,&lt;/B&gt; [ &lt;B&gt;@value = &lt;/B&gt;] { &lt;B&gt;'&lt;/B&gt;&lt;I&gt;value&lt;/I&gt;&lt;B&gt;' &lt;/B&gt;} &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[ &lt;B&gt;, &lt;/B&gt;[ &lt;B&gt;@level0type = &lt;/B&gt;] { &lt;B&gt;'&lt;/B&gt;&lt;I&gt;level0_object_type&lt;/I&gt;&lt;B&gt;' &lt;/B&gt;} &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;B&gt;,&lt;/B&gt; [ &lt;B&gt;@level0name = &lt;/B&gt;] { &lt;B&gt;'&lt;/B&gt;&lt;I&gt;level0_object_name&lt;/I&gt;&lt;B&gt;' &lt;/B&gt;} &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[ &lt;B&gt;,&lt;/B&gt; [ &lt;B&gt;@level1type = &lt;/B&gt;] { &lt;B&gt;'&lt;/B&gt;&lt;I&gt;level1_object_type&lt;/I&gt;&lt;B&gt;' &lt;/B&gt;} &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;B&gt;,&lt;/B&gt; [ &lt;B&gt;@level1name = &lt;/B&gt;] { &lt;B&gt;'&lt;/B&gt;&lt;I&gt;level1_object_name&lt;/I&gt;&lt;B&gt;' &lt;/B&gt;} &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[ &lt;B&gt;,&lt;/B&gt; [ &lt;B&gt;@level2type = &lt;/B&gt;] { &lt;B&gt;'&lt;/B&gt;&lt;I&gt;level2_object_type&lt;/I&gt;&lt;B&gt;' &lt;/B&gt;} &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;B&gt;,&lt;/B&gt; [ &lt;B&gt;@level2name = &lt;/B&gt;] { &lt;B&gt;'&lt;/B&gt;&lt;I&gt;level2_object_name&lt;/I&gt;&lt;B&gt;' &lt;/B&gt;} &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;] &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;] &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;] &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;] &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;e.g.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;EXEC&amp;nbsp;&amp;nbsp;sp_addextendedproperty 'MS_Description', '&amp;lt;column description&amp;gt;', 'user', dbo, 'table', '&amp;lt;&lt;EM&gt;table name enclosed with single quote&lt;/EM&gt;&amp;gt;', 'column', &amp;lt;&lt;EM&gt;column name not enclosed with single quote&lt;/EM&gt;&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;you can use anyname on [value] but if you want to see the description on Enterprise Manager, use 'MS_Description'.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;to view the column properties, use the &lt;STRONG&gt;fn_listextendedproperty &lt;/STRONG&gt;function.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;e.g.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;SELECT&amp;nbsp;&amp;nbsp; *&lt;BR&gt;FROM&amp;nbsp;&amp;nbsp; ::fn_listextendedproperty (NULL, 'user', 'dbo', 'table', '&amp;lt;&lt;EM&gt;table name enclosed with single quote&lt;/EM&gt;&amp;gt;', 'column', default)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;BOL: Property Management&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=921957" width="1" height="1"&gt;</description></item><item><title>Word Tip: Review side by side</title><link>http://thespoke.net/blogs/clintz/archive/2005/11/24/920238.aspx</link><pubDate>Fri, 25 Nov 2005 02:28:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:920238</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/920238.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=920238</wfw:commentRss><description>&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;A new feature of Word allows you to review documents side-by-side.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;This is especially helpful if you have two copies of the same document which was modified by two different people.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;To do this, you must first have the documents open.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Then, you need to go to Window | Compare Side by side with &amp;lt;name of document&amp;gt;.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Word will then show the two documents literally side-by-side one another.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=920238" width="1" height="1"&gt;</description></item><item><title>Word Tip: Uppercase, lowercase, or initial capitals</title><link>http://thespoke.net/blogs/clintz/archive/2005/11/24/920236.aspx</link><pubDate>Fri, 25 Nov 2005 02:28:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:920236</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/920236.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=920236</wfw:commentRss><description>&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;this is a heading&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;Sometimes we need to make a particular text all capitals or all small letters or sometimes, all the first letters of the enter paragraph capitalized.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;To do this, you need to highlight the text that you need to capitalize or “un-capitalize”.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Once you’ve selected the text, press the &amp;lt;SHIFT&amp;gt; &amp;lt;F3&amp;gt; buttons.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;You will then see the text you highlighted change the case from all letters capitalized, to all letters not capitalized and to all the first letters capitalized.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=920236" width="1" height="1"&gt;</description></item><item><title>Word Tip: Lines, I forgot my lines</title><link>http://thespoke.net/blogs/clintz/archive/2005/11/24/920234.aspx</link><pubDate>Fri, 25 Nov 2005 02:26:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:920234</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/920234.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=920234</wfw:commentRss><description>&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;
&lt;P class=MsoNormal&gt;
&lt;P class=MsoNormal&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;Sometimes users need to add horizontal lines to their documents in order to separate items or divide a document into groups.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;In order to do this, we would type in a series of hyphens, underscores or equal characters.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;There is a shortcut to do this and it would give a much better line instead of just the underscore (_) or hyphen (-) character.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;To do this, just type three hyphens (-) and press the &amp;lt;ENTER&amp;gt; key.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;This will result in a horizontal line similar to the first line below.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;To draw a horizontal line that is thicker than the first line in the sample below, just type three underscores (_) and press the &amp;lt;ENTER&amp;gt; key.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;This will result in the second line as seen below.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Lastly, to draw a double line, just type three equal signs (=) and press the &amp;lt;ENTER&amp;gt; key.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;The result is the third line below.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=920234" width="1" height="1"&gt;</description></item><item><title>Word Tip: Paragraphs and more paragraphs</title><link>http://thespoke.net/blogs/clintz/archive/2005/11/24/920233.aspx</link><pubDate>Fri, 25 Nov 2005 02:23:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:920233</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/920233.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=920233</wfw:commentRss><description>&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;This is my first paragraph.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;As I was writing this I had a lot of ideas in mind, each idea came up fast so I had to write it as another paragraph.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;That way, I can just write everything up and worry about how to organize the thought later&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;Oops, I want to make this my second paragraph.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;So I have to move this up, between the first paragraph and the second paragraph.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;This is my third paragraph.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;There are still a lot of ideas that are in my mind, such as what are we going to eat.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;This is my second paragraph and again, I have a lot of ideas coming in.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;I type everything and organize the flow later.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;Now, I have so many paragraphs and I can’t decide on how to organize them to make one flow.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;This is where the problem begins because I have to copy and paste a lot of times to get everything in one cohesive flow.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;Whenever you write memos, you would usually type the contents first and worry about the flow of thought later on after you’ve typed all the things that you wanted in the memo.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;The next step would be to organize the memo so that it has one cohesive message.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Sometimes, you need to rearrange the paragraphs such that the fourth paragraph would be made the second paragraph or the last paragraph be made the first paragraph.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;What I usually do is to make use of &amp;lt;CTRL&amp;gt; &amp;lt;C&amp;gt; and &amp;lt;CTRL&amp;gt; &amp;lt;V&amp;gt; (copying and pasting).&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;But there is a better way to do that without having to copy and paste paragraphs.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;All you need to do is to highlight the particular paragraph that you want to move and press the &amp;lt;SHIFT&amp;gt; &amp;lt;ALT&amp;gt; keys and the up arrow () to move the paragraph upwards or &amp;lt;SHIFT&amp;gt; &amp;lt;ALT&amp;gt; and the down arrow () to move the paragraph downwards.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=920233" width="1" height="1"&gt;</description></item><item><title>Word Tip: Keyboard Shortcuts for increase/decrease font</title><link>http://thespoke.net/blogs/clintz/archive/2005/11/24/920232.aspx</link><pubDate>Fri, 25 Nov 2005 02:23:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:920232</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/920232.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=920232</wfw:commentRss><description>&lt;P class=MsoHeading7&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;The size of the font is &lt;FONT size=3&gt;big&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoHeading7&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;The size of the font is small&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;Are you annoyed whenever you need to change the size of the font of a particular text?&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;What you would do is to highlight the text, go to the toolbar and change the font size.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Sometimes, you need to do this for a couple of times before you get the font size that you want.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;There is a shortcut to this, all you need to do is highlight the text, press the &amp;lt;CTRL&amp;gt; &amp;lt;SHIFT&amp;gt; button and the greater than character (&amp;gt;) to increase the font size.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Alternatively, you can press &amp;lt;CTRL&amp;gt; &amp;lt;SHIFT&amp;gt; and the less than character (&amp;lt;) to decrease the font size.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=920232" width="1" height="1"&gt;</description></item><item><title>Word Tip: &amp;lt;ALT&amp;gt; &amp;lt;X&amp;gt; Combination</title><link>http://thespoke.net/blogs/clintz/archive/2005/11/24/920230.aspx</link><pubDate>Fri, 25 Nov 2005 02:19:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:920230</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/920230.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=920230</wfw:commentRss><description>&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT size=1&gt;&lt;FONT face=Verdana&gt;00A9&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT size=1&gt;&lt;FONT face=Verdana&gt;00AE&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT size=1&gt;&lt;FONT face=Verdana&gt;2122&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT size=1&gt;&lt;FONT face=Verdana&gt;263A&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT size=1&gt;&lt;FONT face=Verdana&gt;00A5&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT size=1&gt;&lt;FONT face=Verdana&gt;00A3&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;20AC&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;Were you faced with a situation where you had to insert a particular symbol within the document.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;What we usually do is to go to the Insert | Symbol menu and select the symbol from there.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;Now you can do the same but this time, all you need to do is to remember the codes that are relevant to your work.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;To display the symbol, key in the code first and then press the &amp;lt;ALT&amp;gt; &amp;lt;X&amp;gt; key.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;The code will be changed to the symbol equivalent.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Above is a list of some of the codes, try pressing &amp;lt;ALT&amp;gt; &amp;lt;X&amp;gt; after each one and see for yourself.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=920230" width="1" height="1"&gt;</description></item><item><title>Word Tip: Bullets, Bullets, Bullets</title><link>http://thespoke.net/blogs/clintz/archive/2005/11/24/920228.aspx</link><pubDate>Fri, 25 Nov 2005 02:16:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:920228</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/920228.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=920228</wfw:commentRss><description>&lt;UL&gt;
&lt;LI class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT size=1&gt;&lt;FONT face=Verdana&gt;Bullet point 1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;
&lt;LI class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT size=1&gt;&lt;FONT face=Verdana&gt;Bullet point 2&lt;BR&gt;Related to bullet point 2&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;
&lt;LI class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;Bullet point 3&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;
&lt;P class=MsoNormal&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;Did you ever get annoyed whenever you used bullets and you had to place a sub-item under one of the items.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;The bullet follows and you had to make a backspace and then tab all your way to the area where you want the sub-item to be in.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;You can simplify this method by just pressing &amp;lt;SHIFT&amp;gt; &amp;lt;ENTER&amp;gt; after one of the bulleted items.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;This would allow you to place sub-items under the bullet without having to contend with the actual bullet symbol.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;To resume the entering data with bullets, just press &amp;lt;ENTER&amp;gt; this would make the bullets appear again.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=920228" width="1" height="1"&gt;</description></item><item><title>Word Tip: Display more options with the &amp;lt;SHIFT&amp;gt; Key</title><link>http://thespoke.net/blogs/clintz/archive/2005/11/24/920227.aspx</link><pubDate>Fri, 25 Nov 2005 02:16:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:920227</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/920227.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=920227</wfw:commentRss><description>&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;If you have multiple Word documents that are open, you can immediately save all the documents without going through each one of the documents and pressing the save button.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;All you need to do is go to one document that is open and make sure to press the &amp;lt;SHIFT&amp;gt; key before click the File menu.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;The Save, option will be converted to a Save All option, allowing you to save all the documents in just one go.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=920227" width="1" height="1"&gt;</description></item><item><title>Word Tip: Faster way to create tables (and add rows too!)</title><link>http://thespoke.net/blogs/clintz/archive/2005/11/24/920226.aspx</link><pubDate>Fri, 25 Nov 2005 02:14:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:920226</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/920226.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=920226</wfw:commentRss><description>&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;Ever wondered if there was an easy way of creating tables?&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Instead of clicking the table icon and dragging the number of columns and rows that you want, you can make use of the “plus” and “dash” characters.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;To do this, just start with a plus then a dash then a plus.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;It should be something like this: +-+&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;After entering the plus, make sure you press the &amp;lt;ENTER&amp;gt; key.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;This will result in a one column row.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;To make a two column row you just need to add another dash and a plus so that it would look something like this: +-+-+.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Pressing enter after would result in a two column row.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=1&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT size=1&gt;&lt;FONT face=Verdana&gt;The dash corresponds to the number of columns that you need in your table.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Just remember to add a plus at the end and press the &amp;lt;ENTER&amp;gt; key.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=920226" width="1" height="1"&gt;</description></item><item><title>Word Tip: Calculations in Word tables</title><link>http://thespoke.net/blogs/clintz/archive/2005/11/24/920225.aspx</link><pubDate>Fri, 25 Nov 2005 02:11:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:920225</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/920225.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=920225</wfw:commentRss><description>&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT size=1&gt;Ever needed to put tables in your documents?&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Worse, you needed to make computations on them too!&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Well you can actually can put computations on your tables in Word.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT size=1&gt;In the last column of the table (or wherever you need to perform the calculation) you need to put the formula.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;To do this, go to Table | Formula, put the formula as you would normally do in Excel (e.g. =SUM or =A1+B1).&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;When using the table, you access the rows and columns as you would normally do in Excel (i.e. the first column on the first row is A1, the second column is B1 and so on).&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;So, if you had a table having one rows and four columns and you wanted to add up the entire row, just put the formula as: =A1+B1+C1+D1.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT size=1&gt;If you change the values in one of the columns you do not need to enter the formula again, all you have to do is go the columns where the formula is, right click on it and select Update field.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;The field will be recomputed for you.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=920225" width="1" height="1"&gt;</description></item><item><title>T-SQL: coalesce</title><link>http://thespoke.net/blogs/clintz/archive/2005/11/24/920218.aspx</link><pubDate>Fri, 25 Nov 2005 01:48:00 GMT</pubDate><guid isPermaLink="false">b2b995b1-9c1d-4d25-9f9c-28d53840b74c:920218</guid><dc:creator>clintz</dc:creator><slash:comments>0</slash:comments><comments>http://thespoke.net/blogs/clintz/comments/920218.aspx</comments><wfw:commentRss>http://thespoke.net/blogs/clintz/commentrss.aspx?PostID=920218</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=1&gt;instead of using mulriple if's like:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;if @user = ''&lt;BR&gt;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;if @age = ''&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;select * from customers&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;BR&gt;&amp;nbsp;&amp;nbsp;else&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;select * from customers where age = @age&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;BR&gt;&amp;nbsp;end&lt;BR&gt;else&lt;BR&gt;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;if @age = ''&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;select * from customers where [name] = @user&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;BR&gt;&amp;nbsp;&amp;nbsp;else&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;begin&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;select * from customers where [name] = @user and age = @age&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;BR&gt;&amp;nbsp;end&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;you can use the COALESCE() like:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;if @user = ''&lt;BR&gt;&amp;nbsp;set @user = null&lt;BR&gt;if @age = ''&lt;BR&gt;&amp;nbsp;set @age = null&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;select * from customers where [name] = coalesce(@user, name) and age = coalesce(@age, age)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=920218" width="1" height="1"&gt;</description></item></channel></rss>