Archived Months
January 2003
March 2003
April 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
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
July 2007
August 2007
September 2007
October 2007


all groups > sql server misc > april 2006

SQL QUERY
Posted by mail NO[at]SPAM abibiano.com at 4/21/2006 7:12:41 AM
I'm looking for the most optimized query for this scenario: I have a product table ID Name A Test A B Test B C Test C and a price table ID Date Price Test A 01-01-2006 10 Price 1 A A 01-05-2006 12 Price 2 A B 01-05-2006 20 Price 1 B C 01-01-2006 30 Price 1 C C 01-05-2006 3...more >>

Reformatting data
Posted by Wendy at 4/21/2006 12:00:00 AM
Hi I have a date field that comes in the format yyyymmdd, I'd like to turn this round to show dd/mm/yy. I can do this in Microsoft Access using left,right and mid, but mid doesn't work in sql. Can anyone suggest an alternative? Thanks Wendy ...more >>

select * in views
Posted by Peter at 4/16/2006 12:22:39 AM
People are telling me it is bad to put select * from <atable> in a view. I better should list all fields of the table inside the definition of the view. I dont know exactly why but some say: A select * from makes sql server does a table scan. Is that true, even if i put a where...more >>

How to get a character from a string
Posted by hon123456 at 4/13/2006 3:09:34 AM
Dear all, I have a field with String type. The format is like that e.g 12345a 23456b or 12345 . The last english character of the field is optional. Now I need to determine whether the last english character exist, if it exist, then I need to extract the last english character. fo...more >>

How to Search a field
Posted by hon123456 at 4/13/2006 3:01:51 AM
Dear all, I have many tables in SQL server. Now I want to search a field name as "size" in one of the table, but I forgot which table it is located in. How can I find out which table the "size" is located? Thanks ...more >>

Need help understanding a memory issue
Posted by pshroads NO[at]SPAM gmail.com at 4/5/2006 10:09:44 AM
I get the following errors a couple of times a day and I want to make sure I understand what it's saying. As it states in the error, SQL Server "Failed to reserve contiguous memory of Size= 15990784." So it was unable to reserve 15 MB of contiguous memory, correct? As I understand it since thi...more >>



DevelopmentNow Blog