Click here to Skip to main content
15,899,937 members
Home / Discussions / Database
   

Database

 
GeneralSQL server logs Pin
Imtiaz Murtaza8-Sep-04 2:08
Imtiaz Murtaza8-Sep-04 2:08 
GeneralSql Query Pin
rkyawal8-Sep-04 0:41
rkyawal8-Sep-04 0:41 
GeneralRe: Sql Query Pin
Colin Angus Mackay8-Sep-04 5:13
Colin Angus Mackay8-Sep-04 5:13 
GeneralRe: Sql Query Pin
EdbertP8-Sep-04 20:44
EdbertP8-Sep-04 20:44 
QuestionCan this exception be taken care of? Pin
mysorian7-Sep-04 18:15
professionalmysorian7-Sep-04 18:15 
AnswerRe: Can this exception be taken care of? Pin
Colin Angus Mackay8-Sep-04 5:17
Colin Angus Mackay8-Sep-04 5:17 
GeneralRe: Can this exception be taken care of? Pin
mysorian8-Sep-04 6:49
professionalmysorian8-Sep-04 6:49 
QuestionCounting NULL columns across a row? Pin
Mike Ellison7-Sep-04 9:38
Mike Ellison7-Sep-04 9:38 
Hi all. I've run into an interesting problem. I have a need, with a single selected row in TSql, to count the number of columns with a NULL value (or conversly, the number of columns with a non-null value entered). The table from which the row comes is likely to see changes in its structure over time; adding to the complexity of this need, for simplicity in maintenance, it would be useful not to have to hardcode the column names (I'm thinking of hardcoded "CASE" statements here...)

Does anyone have any suggestions? Ultimately, a user-defined function that, given the primary key value identifying a single row, would return the number of Null values (or non-null values) across the columns in that row would be ideal. I'm hurting my brain on how to get there.
Generaltextbox datasource retrieve text problem Pin
Bart-Man7-Sep-04 8:29
Bart-Man7-Sep-04 8:29 
GeneralPossible Solution Pin
Bart-Man8-Sep-04 3:52
Bart-Man8-Sep-04 3:52 
GeneralDTS Dynamic Properties Pin
ProffK6-Sep-04 23:20
ProffK6-Sep-04 23:20 
Questionhow to bind the textbox value to sqlCommand? Pin
DotNet6-Sep-04 19:49
DotNet6-Sep-04 19:49 
AnswerRe: how to bind the textbox value to sqlCommand? Pin
Sudee6-Sep-04 20:23
Sudee6-Sep-04 20:23 
AnswerRe: how to bind the textbox value to sqlCommand? Pin
Colin Angus Mackay6-Sep-04 23:10
Colin Angus Mackay6-Sep-04 23:10 
QuestionHow to insert ' into database? Pin
ting6686-Sep-04 19:10
ting6686-Sep-04 19:10 
AnswerRe: How to insert ' into database? Pin
Sudee6-Sep-04 20:17
Sudee6-Sep-04 20:17 
GeneralRe: How to insert ' into database? Pin
ting6686-Sep-04 20:28
ting6686-Sep-04 20:28 
GeneralRe: How to insert ' into database? Pin
Sudee6-Sep-04 22:09
Sudee6-Sep-04 22:09 
GeneralRe: How to insert ' into database? Pin
ting6686-Sep-04 22:48
ting6686-Sep-04 22:48 
GeneralRe: How to insert ' into database? Pin
Colin Angus Mackay6-Sep-04 23:01
Colin Angus Mackay6-Sep-04 23:01 
GeneralRe: How to insert ' into database? Pin
iamalik7-Sep-04 7:53
professionaliamalik7-Sep-04 7:53 
GeneralRe: How to insert ' into database? Pin
EdbertP8-Sep-04 21:19
EdbertP8-Sep-04 21:19 
GeneralRe: How to insert ' into database? Pin
ting6688-Sep-04 22:07
ting6688-Sep-04 22:07 
AnswerRe: How to insert ' into database? Pin
Salil Khedkar13-Sep-04 2:00
Salil Khedkar13-Sep-04 2:00 
Generalunhandled exception Pin
Sudee5-Sep-04 23:07
Sudee5-Sep-04 23:07 

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.