473,398 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Transaction Table

I was discussing a project today and a question came up about using a
transaction table. I need to recreate an input form with many
different types of questions. The following is one type of question:

3) How would you characterize the racial/ethnic composition of the
individuals served by your program? What is the percent for each?

___American Indian or Alaskan Native
___Asian
___Black/African-American
___Hispanic or Latino

So what would be the best approach for this? Should I make a separate
table for this question? Should I keep all questions with percentages
for answers together in a table?

Feb 6 '06 #1
3 2754
Ecohouse wrote:
I was discussing a project today and a question came up about using a
transaction table. I need to recreate an input form with many
different types of questions. The following is one type of question:

3) How would you characterize the racial/ethnic composition of the
individuals served by your program? What is the percent for each?

___American Indian or Alaskan Native
___Asian
___Black/African-American
___Hispanic or Latino

So what would be the best approach for this? Should I make a separate
table for this question? Should I keep all questions with percentages
for answers together in a table?

You gave 1 type of question...a question that requires has multiple
answers with numeric input for a single question. How many questions to
you have? Are some multiple and some single inputs?

In this day and age of large diskspace, I wouldn't worry too much about
a table. You can have 255 fields. Were you planning on storing all
survey questions to 1 record or were you planning one record per survey
question?

Feb 6 '06 #2
Thanks for the reply. For something like the question above I was
thinking of making a separate table with an identity key linking back
to the main table. There are a lot of questions like the one posted,
but there are also a lot of questions with yes/no or single answers.

I was just deciding the best way to go with this.

Feb 11 '06 #3
Ecohouse wrote:
Thanks for the reply. For something like the question above I was
thinking of making a separate table with an identity key linking back
to the main table. There are a lot of questions like the one posted,
but there are also a lot of questions with yes/no or single answers.

I was just deciding the best way to go with this.

Whichever way is the easiest for you to code and the user to input.
Apply KISS.
Feb 11 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: noah | last post by:
Does PHP have a feature to associate Cookie sessions with a persistent database connection that will allow a single transaction across multiple HTTP requests? Here is how I imagine my process: I...
1
by: Avanish Pandey | last post by:
Hello All We have 3 differen services (in 3 different server) Service A,B,C . We want to implement distributed transaction when call methods of B and C from A. Is it possible? if yes then how? ...
15
by: Zeng | last post by:
Hi, The bigger my C# web-application gets, the more places I need to put in the tedious retrying block of code to make sure operations that can run into database deadlocks are re-run (retried)...
3
by: Eitan | last post by:
Hello, I have run a long transaction on the DB (sql server) For some long transaction I have got the following message : What can I do in order to run it properly ? Error Type:
6
by: Crash | last post by:
C# VS 2003 ..Net Framework V1.1 SP1 SQL Server 2000 SP3 Enterprise Library June 2005 I'm working with some code {not of my creation} that performs the following sequence of actions: - Open...
3
by: joshsackett | last post by:
I am redesigning an application that distributes heldesk tickets to our 50 engineers automatically. When the engineer logs into their window a stored procedure executes that searches through all...
6
by: heyvinay | last post by:
I have transaction table where the rows entered into the transaction can come a result of changes that take place if four different tables. So the situation is as follows: Transaction Table...
2
by: Christian Stooker | last post by:
Part one: ====== Hi ! I want to use SQLite database like the FireBird database: with big isolation level. What's that meaning ? I have an application that periodically check some input...
14
by: Jim Michaels | last post by:
mysql_query("START TRANSACTION", $link2); $q2=mysql_query("SELECT pictures.pid AS pid FROM pictures,counter WHERE pictures.pid>counter.pid LIMIT 1", $link2); if ($row2=mysql_fetch_assoc($q2)) {...
2
by: Ryan Liu | last post by:
Hi, I have few db write and read to execute, so I use transaction. Is that a problem or is that a regular way that I only use transaction on some cmds only, and other cmds I do not use...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.