Click here to Skip to main content
15,921,295 members
Home / Discussions / Database
   

Database

 
GeneralRe: Tricky question ob querys, how to solve ??? Pin
karam chandrabose18-Dec-06 17:56
karam chandrabose18-Dec-06 17:56 
QuestionPlease Help me :( Pin
Dayekh18-Dec-06 5:45
Dayekh18-Dec-06 5:45 
AnswerRe: Please Help me :( Pin
Private_Void18-Dec-06 6:06
Private_Void18-Dec-06 6:06 
GeneralRe: Please Help me :( Pin
Dayekh18-Dec-06 22:45
Dayekh18-Dec-06 22:45 
GeneralRe: Please Help me :( Pin
Private_Void19-Dec-06 3:03
Private_Void19-Dec-06 3:03 
GeneralRe: Please Help me :( Pin
Dayekh19-Dec-06 4:56
Dayekh19-Dec-06 4:56 
QuestionReturn cols with values Pin
tadhg8818-Dec-06 1:24
tadhg8818-Dec-06 1:24 
AnswerRe: Return cols with values Pin
ChandraRam18-Dec-06 1:30
ChandraRam18-Dec-06 1:30 
tadhg88 wrote:
Hi I am having some trouble trying to figure out this sql query or should I be trying to do this with c# and not sql, I have a database table with 20 columns but I only want to return the columns that have values in at least one of their rows, so if a column consists entirely of null values I do not want to return it. I’m just wondering if anyone has any help or advice with the sql or whether or not its possible.


Sure it is possible, but you will need to check each column for a "not null" value.
GeneralRe: Return cols with values Pin
tadhg8818-Dec-06 3:48
tadhg8818-Dec-06 3:48 
Questionsqlserver/ msAccess Pin
siva.k18-Dec-06 0:13
siva.k18-Dec-06 0:13 
AnswerRe: sqlserver/ msAccess Pin
Pete O'Hanlon18-Dec-06 0:18
mvePete O'Hanlon18-Dec-06 0:18 
AnswerRe: sqlserver/ msAccess Pin
ChandraRam18-Dec-06 1:28
ChandraRam18-Dec-06 1:28 
Questionhow to declare a variable in sql views Pin
yogita charhate17-Dec-06 22:31
yogita charhate17-Dec-06 22:31 
AnswerRe: how to declare a variable in sql views Pin
Pete O'Hanlon17-Dec-06 22:37
mvePete O'Hanlon17-Dec-06 22:37 
QuestionHelp... database consolidation Pin
shum2317-Dec-06 21:28
shum2317-Dec-06 21:28 
AnswerRe: Help... database consolidation Pin
Colin Angus Mackay17-Dec-06 22:43
Colin Angus Mackay17-Dec-06 22:43 
QuestionTo Get Hierarcal Data Pin
TC2817-Dec-06 19:34
TC2817-Dec-06 19:34 
AnswerRe: To Get Hierarcal Data Pin
Tarakeshwar Reddy17-Dec-06 20:25
professionalTarakeshwar Reddy17-Dec-06 20:25 
QuestionDifferent Table Column in a DataGrid Pin
Tomy140217-Dec-06 17:21
Tomy140217-Dec-06 17:21 
AnswerRe: Different Table Column in a DataGrid Pin
Kschuler18-Dec-06 5:38
Kschuler18-Dec-06 5:38 
GeneralRe: Different Table Column in a DataGrid Pin
Tomy140218-Dec-06 15:17
Tomy140218-Dec-06 15:17 
GeneralRe: Different Table Column in a DataGrid Pin
Kschuler19-Dec-06 3:01
Kschuler19-Dec-06 3:01 
GeneralRe: Different Table Column in a DataGrid Pin
Tomy140219-Dec-06 21:29
Tomy140219-Dec-06 21:29 
GeneralRe: Different Table Column in a DataGrid Pin
Tomy140219-Dec-06 21:39
Tomy140219-Dec-06 21:39 
GeneralRe: Different Table Column in a DataGrid Pin
Kschuler20-Dec-06 2:46
Kschuler20-Dec-06 2:46 

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.