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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
|