Archived Months
January 2003
March 2003
April 2003
May 2003
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
April 2008
all groups > sql server programming > july 2007 > threads for sunday july 8

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Sql Update Query
Posted by YALTA at 7/8/2007 8:56:22 PM
Hello, I am new to working with SQL and I have a few questions. One the update query below, one will it work and I looking for a better understanding of the steps that are taking when this query runs. begin tran update address set phone = xxxxxxxxx,fax = yyyyyyyyyy from address y inner ...more >>


casting an time as hh
Posted by Larry Killen at 7/8/2007 7:44:23 PM
I have a query (below) where I group the records by the hour, among other things. I use the DatePart with the 'hh' signifier which is supposed to give me 02 for 2 AM rather then 2. I need the 0 in front of the single digit so that the hours collate correctly in my application. Larry...more >>

Input mask
Posted by Lolik at 7/8/2007 4:40:02 PM
Trying to add an input mask in 2005 using sp_addextendedproperty. The property is added but the mask does not work. Used "9" for digit placeholder. Not sure if it is correct. Would someone point me to a list with input mask placeholders, please?...more >>

Picking first and last records
Posted by Infinity at 7/8/2007 2:26:04 PM
Hi guys I have got a table as shown below. Funder Start_date End_date NNN A 21/06/2004 27/06/2004 BH A 28/06/2004 4/07/2004 BH A 5/07/2004 11/07/2004 BH A 12/07/2004 18/07/2004 BH A 1/07/2005 2/0...more >>

return random results, one per category, with one query
Posted by Sergei Shelukhin at 7/8/2007 5:27:21 AM
Hi. I need to create a view for a site that has ads for items arranged by category (e.g. table is something like Offer (ID int PRIMARY KEY, CategoryID int, CreatedDate datetime)). I need to take N categories that were used in N latest offers posted on the site, and then for each of them return o...more >>

Format Number Function
Posted by Bpk. Adi Wira Kusuma at 7/8/2007 12:00:00 AM
Is there function to format number in SQL SERVER 2000? Examples SET @I=2555 ----> '002555' what is the function? ----> '2.555,00' what is the function? ...more >>

Sort Table
Posted by Ahmed Hashish at 7/8/2007 12:00:00 AM
I need SQL statement that sort the Table Invoices(InvoiceNum Int) as = follows: The Table has the following data InvoiceNum 1 1 1 2 2 2 ...more >>



DevelopmentNow Blog