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 > june 2006 > threads for sunday june 18

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

GROUP BY Question
Posted by Niclas at 6/18/2006 10:21:01 PM
Hi, I am struggling with a GROUP BY query that works fine until I add an additional column to the select statement when i get duplicates, and I believe the reason is that the query can not decide what column to aggregate on. Not sure if this makes sense, but I was wodering if it is possible...more >>


Calculate Age
Posted by Niclas at 6/18/2006 3:00:34 PM
Hi, I have a 'date of birth' of a person and a date of an event and need to calculate the persons age at that event (both datetime format). Is there a function available I can use for this ? Any advice appreciated Nic ...more >>

Data Modeling Question - Medical Lab Test Results
Posted by Frankie at 6/18/2006 2:18:34 PM
I am redesigning a database for two medical offices who are merging their operations. Each office currently has its own database, and I'm retiring both with something that will be better. One existing db was implemented in MS Access and the other in Oracle. The replacement will be implemented ...more >>

sql 2005 equivalent for length in spt_datatype_info?
Posted by Mike at 6/18/2006 10:00:02 AM
In sql 2000, length of user definded datatype (nText) would return 2147483646. however in sql 2005, spt_datatype_info is no longer there and length for ntext in syscolumns returns 16 which does not work for me. any thoughts?...more >>

SqlDependency.Starts work for local but not remote Sql Server 2005
Posted by tronn at 6/18/2006 7:30:01 AM
I know I must be missing something dumb and simple. Simple Windows app that works when SQL Server 2005 instance is local, but not when remote: SqlDependency.Start("Integrated Security=True;data source=gdsilaptop99;initial catalog=NAWDP2Dev;Connection Timeout=120") SqlDependency.Stop("...more >>

Syncing users on a standby Server
Posted by DickChristoph at 6/18/2006 2:43:13 AM
Hi So if you use log shipping to ship a database to a second server it will also transfer the users. But if you login as one of those users it doesn't allow access to the databases. The new database is in read-only mode so how do you run something like sp_change_users_login 'AUTO_FIX' <u...more >>

Seemingly conflicting advice on indexes
Posted by Ney_André_de_Mello_Zunino at 6/18/2006 12:08:04 AM
Hello. I have been struggling to grasp the main concepts around the two different types of indexes and their implications. To make matters a bit more complicated, it seems there is a lot of contradiction in the advices given. For example, one source I have states that nonclustered indexe...more >>

How to select/insert datetime field
Posted by Sergio I. at 6/18/2006 12:00:00 AM
Hi, all! MSDE 2000 I need select field, datetime type, in 'dd.mm.yyyy' format as char or varchar. Also update or insert data into field datetime from character string formated as 'dd.mm.yyyy'. How to? Please help! ...more >>




DevelopmentNow Blog