Click here to Skip to main content
16,007,163 members
Home / Discussions / Database
   

Database

 
AnswerRe: convert font Pin
HemJoshi29-Sep-08 19:10
HemJoshi29-Sep-08 19:10 
Questionxds Pin
postonoh29-Sep-08 11:34
postonoh29-Sep-08 11:34 
AnswerDuplicate post Pin
Mycroft Holmes29-Sep-08 14:54
professionalMycroft Holmes29-Sep-08 14:54 
QuestionNumber of opened accounts per month Pin
matt23lucier29-Sep-08 9:40
matt23lucier29-Sep-08 9:40 
AnswerRe: Number of opened accounts per month Pin
leckey29-Sep-08 10:53
leckey29-Sep-08 10:53 
AnswerRe: Number of opened accounts per month Pin
Blue_Boy29-Sep-08 11:21
Blue_Boy29-Sep-08 11:21 
QuestionRe: Number of opened accounts per month Pin
nelsonpaixao29-Sep-08 12:26
nelsonpaixao29-Sep-08 12:26 
QuestionSQL Help Required Pin
munklefish29-Sep-08 5:07
munklefish29-Sep-08 5:07 
Hi,

I need to retreive some info from an SQL2005 db, but am not knowledgeable in SQL to work out an efficient statement. Your help will be greatly appreciated.

I need to retreive data for a given user(db_User) whilst counting info from a second column(db_Hours).

However to make things a bit more difficult id like to count/sum all the (db_Hours) values as two named fields. The values of these named fields will be grouped according to a 3rd column(db_Valid) will either be 'yes', 'edit' or 'no'.

SO in other words id like one statement (if possible) that will get me all the values of (db_Hours) for a named user, as two variables. One being the sume of all the 'db_Hours' where 'db_Valid' is equal to "yes", and a second where 'db_Valid' is not equal to 'yes'.

I hope this makes sense, and that some kind person is able to help me out.

Many Thanks guys! Sigh | :sigh:
AnswerRe: SQL Help Required Pin
Kschuler29-Sep-08 6:15
Kschuler29-Sep-08 6:15 
Question# of records between 2 times Pin
wienfall200329-Sep-08 5:06
wienfall200329-Sep-08 5:06 
AnswerRe: # of records between 2 times Pin
Wendelius29-Sep-08 5:11
mentorWendelius29-Sep-08 5:11 
GeneralRe: # of records between 2 times Pin
wienfall200329-Sep-08 5:23
wienfall200329-Sep-08 5:23 
GeneralRe: # of records between 2 times Pin
Wendelius29-Sep-08 5:42
mentorWendelius29-Sep-08 5:42 
GeneralRe: # of records between 2 times Pin
wienfall200329-Sep-08 7:25
wienfall200329-Sep-08 7:25 
GeneralRe: # of records between 2 times Pin
Wendelius29-Sep-08 7:35
mentorWendelius29-Sep-08 7:35 
GeneralRe: # of records between 2 times Pin
SomeGuyThatIsMe29-Sep-08 8:36
SomeGuyThatIsMe29-Sep-08 8:36 
GeneralRe: # of records between 2 times Pin
wienfall200329-Sep-08 9:10
wienfall200329-Sep-08 9:10 
AnswerRe: # of records between 2 times Pin
nelsonpaixao29-Sep-08 12:40
nelsonpaixao29-Sep-08 12:40 
Questionconnection string Pin
sachees12329-Sep-08 4:44
sachees12329-Sep-08 4:44 
AnswerRe: connection string Pin
Wendelius29-Sep-08 4:57
mentorWendelius29-Sep-08 4:57 
GeneralRe: connection string Pin
sachees12329-Sep-08 18:34
sachees12329-Sep-08 18:34 
GeneralRe: connection string Pin
Wendelius30-Sep-08 3:09
mentorWendelius30-Sep-08 3:09 
AnswerRe: connection string Pin
nelsonpaixao29-Sep-08 12:44
nelsonpaixao29-Sep-08 12:44 
QuestionSPROC: Insert only writing first char into a varchar (15) field?? Pin
Member 340288629-Sep-08 1:32
Member 340288629-Sep-08 1:32 
AnswerRe: SPROC: Insert only writing first char into a varchar (15) field?? Pin
Blue_Boy29-Sep-08 1:42
Blue_Boy29-Sep-08 1:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.