Click here to Skip to main content
15,913,055 members
Home / Discussions / Database
   

Database

 
QuestionOracle View Schema Pin
Ahmad Safwat8-Feb-10 6:31
Ahmad Safwat8-Feb-10 6:31 
QuestionA newbie to MySql Pin
Alan Kurlansky8-Feb-10 3:19
Alan Kurlansky8-Feb-10 3:19 
AnswerRe: A newbie to MySql Pin
Eddy Vluggen8-Feb-10 7:22
professionalEddy Vluggen8-Feb-10 7:22 
QuestionQuery help Pin
sarang_k7-Feb-10 19:52
sarang_k7-Feb-10 19:52 
AnswerRe: Query help Pin
Not Active7-Feb-10 20:08
mentorNot Active7-Feb-10 20:08 
AnswerRe: Query help Pin
Andy_L_J7-Feb-10 20:42
Andy_L_J7-Feb-10 20:42 
AnswerRe: Query help Pin
Md. Marufuzzaman8-Feb-10 0:05
professionalMd. Marufuzzaman8-Feb-10 0:05 
QuestionStoring multipe datatypes in single sql server table column.. Pin
Member 41254807-Feb-10 17:08
Member 41254807-Feb-10 17:08 
Hi All,

I'm looking to be able to predefine a particular user input as String, Int, or Dec (maybe others), as the particular case may be.

The available datatypes are stored in a table, associated with the property (see below) that they apply to.

When the user submits the filled in textbox, that entry will be put in a table column, probably as a varchar, and converted as needed, to or from the appropriate datatypes as predefined.

For example, the textbox may be asking for the property of "Length," for which "Dec" is the predefined datatype. Or, the textbox may be asking for the property "Count," for which INT would be the datatype, or "Color," for which varchar would be the datatype. A single column will store all of the results, no matter which kind of datatype is actually involved.


The Question: Is there a standard way of doing this kind of thing? Can you throw some keywords or techniques at me? Is it simply a bad idea to do what I'm talking about doing?
AnswerRe: Storing multipe datatypes in single sql server table column.. Pin
Not Active7-Feb-10 18:24
mentorNot Active7-Feb-10 18:24 
GeneralRe: Storing multipe datatypes in single sql server table column.. Pin
Member 41254808-Feb-10 18:50
Member 41254808-Feb-10 18:50 
AnswerRe: Storing multipe datatypes in single sql server table column.. [modified] Pin
Luc Pattyn8-Feb-10 1:31
sitebuilderLuc Pattyn8-Feb-10 1:31 
AnswerRe: Storing multipe datatypes in single sql server table column.. Pin
Eddy Vluggen8-Feb-10 2:33
professionalEddy Vluggen8-Feb-10 2:33 
QuestionMerging server database with portable database Pin
Eli Nurman7-Feb-10 10:40
Eli Nurman7-Feb-10 10:40 
AnswerRe: Merging server database with portable database Pin
Not Active7-Feb-10 12:09
mentorNot Active7-Feb-10 12:09 
QuestionNeed A MSSQL Trigger Pin
idumlupinar7-Feb-10 2:18
idumlupinar7-Feb-10 2:18 
AnswerRe: Need A MSSQL Trigger Pin
Not Active7-Feb-10 2:48
mentorNot Active7-Feb-10 2:48 
GeneralRe: Need A MSSQL Trigger Pin
idumlupinar7-Feb-10 2:54
idumlupinar7-Feb-10 2:54 
GeneralRe: Need A MSSQL Trigger Pin
Not Active7-Feb-10 2:56
mentorNot Active7-Feb-10 2:56 
GeneralRe: Need A MSSQL Trigger Pin
idumlupinar7-Feb-10 2:59
idumlupinar7-Feb-10 2:59 
GeneralRe: Need A MSSQL Trigger Pin
Not Active7-Feb-10 4:47
mentorNot Active7-Feb-10 4:47 
GeneralRe: Need A MSSQL Trigger Pin
idumlupinar7-Feb-10 4:51
idumlupinar7-Feb-10 4:51 
AnswerRe: Need A MSSQL Trigger Pin
Md. Marufuzzaman8-Feb-10 0:15
professionalMd. Marufuzzaman8-Feb-10 0:15 
QuestionSimple Table Design Question Pin
dataminers6-Feb-10 23:00
dataminers6-Feb-10 23:00 
AnswerRe: Simple Table Design Question Pin
Luc Pattyn7-Feb-10 2:26
sitebuilderLuc Pattyn7-Feb-10 2:26 
GeneralRe: Simple Table Design Question Pin
dataminers7-Feb-10 6:41
dataminers7-Feb-10 6:41 

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.