Click here to Skip to main content
15,896,201 members
Home / Discussions / Database
   

Database

 
GeneralRe: trigger and procedure Pin
Ashfield16-Feb-08 3:42
Ashfield16-Feb-08 3:42 
QuestionTRIGGER PROBLEM Pin
RajeevKumarSharma15-Feb-08 23:14
RajeevKumarSharma15-Feb-08 23:14 
GeneralRe: TRIGGER PROBLEM Pin
Ashfield16-Feb-08 3:40
Ashfield16-Feb-08 3:40 
GeneralERROR [42000] [Microsoft][ODBC Microsoft Access Driver] Record(s) cannot be read; no read permission Pin
Cuckoo15-Feb-08 22:54
Cuckoo15-Feb-08 22:54 
GeneralProblem in searching a self joined table Pin
Rocky#15-Feb-08 21:13
Rocky#15-Feb-08 21:13 
GeneralSybase OleDB connection help [modified] Pin
devvvy15-Feb-08 17:40
devvvy15-Feb-08 17:40 
GeneralRe: Sybase OleDB connection help [modified] Pin
ashishj01624-Jun-14 19:28
ashishj01624-Jun-14 19:28 
QuestionSQL Null value discussion Pin
icewarriors3315-Feb-08 5:18
icewarriors3315-Feb-08 5:18 
Good afternoon all.

the developers on my team are having an ongoing discussion about null values being represented as another value where applicable. The reason for this discussion is we are going through a system re-write and we need to know the best way to do the following in SQL server 2005 and ASP.NET

Meaning, due to the nature of our business, we can have situations where numeric or date values can actually be represented as a character value. For example, if a numeric mortgage rate is not present on a mortgage application document, the field is considered to be "not applicable". However the data type for the mortgage rate field is numeric in the SQL database.

The argument here is how do we store the "not applicable" for a null numeric field? We have talked about having child tables to store the field name and its character field representation while keeping the null in the parent table with its true datatype.

We have also discussed having an XML field in the parent table to store the XML character representation for that field. So for example if the mortgage rate for a record is "not applicable" null, we would store null in the Mortgage_Rate field in the database, but store <mortgage_rate>Not Applicable in the XML field for that record.

Does anyone have any other types of recommendations for storing this kind of data?

Thanks for any tips in advanced.

- AGD

Software Developer

Generalself referencing table SELECT issue [modified] Pin
Harvey Saayman15-Feb-08 3:35
Harvey Saayman15-Feb-08 3:35 
GeneralRe: self referencing table SELECT issue Pin
andyharman15-Feb-08 8:11
professionalandyharman15-Feb-08 8:11 
GeneralRe: self referencing table SELECT issue Pin
Harvey Saayman17-Feb-08 19:00
Harvey Saayman17-Feb-08 19:00 
GeneralString concatentaion on update query Pin
si_6915-Feb-08 1:16
si_6915-Feb-08 1:16 
GeneralRe: String concatentaion on update query Pin
Joe15-Feb-08 1:23
Joe15-Feb-08 1:23 
GeneralRe: String concatentaion on update query Pin
seta_yas17-Feb-08 18:19
seta_yas17-Feb-08 18:19 
Generalmonitor sql db connections Pin
Harvey Saayman14-Feb-08 22:24
Harvey Saayman14-Feb-08 22:24 
GeneralRe: monitor sql db connections Pin
Mike Dimmick14-Feb-08 23:59
Mike Dimmick14-Feb-08 23:59 
GeneralRe: monitor sql db connections Pin
Harvey Saayman15-Feb-08 0:12
Harvey Saayman15-Feb-08 0:12 
GeneralFreaky reader Error [Solved] Pin
Harvey Saayman14-Feb-08 22:22
Harvey Saayman14-Feb-08 22:22 
GeneralHelp with the Following View Pin
Vimalsoft(Pty) Ltd14-Feb-08 19:52
professionalVimalsoft(Pty) Ltd14-Feb-08 19:52 
Generalwith,or & Pin
neoghy14-Feb-08 19:44
neoghy14-Feb-08 19:44 
Questionchecking the type Pin
Sonia Gupta14-Feb-08 19:30
Sonia Gupta14-Feb-08 19:30 
GeneralRe: checking the type Pin
GuyThiebaut14-Feb-08 22:07
professionalGuyThiebaut14-Feb-08 22:07 
GeneralIs there a way to extract a value/result when you exec a sql string Pin
littleGreenDude14-Feb-08 9:08
littleGreenDude14-Feb-08 9:08 
GeneralRe: Is there a way to extract a value/result when you exec a sql string Pin
Christian Graus14-Feb-08 13:12
protectorChristian Graus14-Feb-08 13:12 
GeneralRe: Is there a way to extract a value/result when you exec a sql string Pin
andyharman14-Feb-08 21:54
professionalandyharman14-Feb-08 21:54 

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.