Click here to Skip to main content
15,922,574 members
Home / Discussions / Database
   

Database

 
QuestionRe: Getting records from excel into Access??? is it that annoyinnnnnngggg Pin
scorp_scorp25-Jan-11 16:40
scorp_scorp25-Jan-11 16:40 
AnswerRe: Getting records from excel into Access??? is it that annoyinnnnnngggg Pin
PIEBALDconsult25-Jan-11 17:10
mvePIEBALDconsult25-Jan-11 17:10 
GeneralRe: Getting records from excel into Access??? is it that annoyinnnnnngggg Pin
scorp_scorp25-Jan-11 18:33
scorp_scorp25-Jan-11 18:33 
AnswerRe: Getting records from excel into Access??? is it that annoyinnnnnngggg Pin
David Lario26-Jan-11 9:51
David Lario26-Jan-11 9:51 
QuestionMSSQL Triggers Pin
rajkumar.324-Jan-11 1:48
rajkumar.324-Jan-11 1:48 
AnswerRe: MSSQL Triggers Pin
David Mujica24-Jan-11 3:21
David Mujica24-Jan-11 3:21 
AnswerRe: MSSQL Triggers Pin
Mycroft Holmes24-Jan-11 15:38
professionalMycroft Holmes24-Jan-11 15:38 
QuestionDatabase design issue - Pl Sugget a better way Pin
meerabhuva24-Jan-11 1:26
meerabhuva24-Jan-11 1:26 
Hi,

I have queries regarding Database design in sql server 2005.

I have Book Library. I have a master where i am storing different category of writers for eg. Story Writes, Poets, Technical writers, Fiction Writes etc.

For eg. I have stored Louies David who is a Story writer as well as Poet.

I want to develop a search for above category for selected name or populate a list box for single category.

I have also another processes like contract for Books which is in transit but need to store details in Database. for eg Book Contract. It is having status as 'Approved' or 'Transit'. But i Need to store the categories and name of the writes in the database as well.

I have created Writes Category Table with Metadata for eg,

1) Table - WriterCategory

WriterCatID int - not Null

WriteCategory - int - metadata value ( Binary number for eg. 2) then for next record it will be 4, next will be 16 .. as so on.

CategoryDescrition - Varchar(50) - for . eg. Story Writer

2) Table - WriterMaster

WriterMasterID - int

WriterName - varchar(50) for eg, Louies David

Metadata Total - metadata which is selected by user for eg. He is Storywriter + Poet then 2 + 4 = 6 will be stored in this table

3) WriterMasterDetail

WriterMasterDetailID - Int

WriterMasterID - FK of WriterMaster

Metadata - individual category Number stored in WriterCategory

From above Table i can populate list boxes for categories as well as from Name i can find the category of the selected name.

But when I want to this to be also get values for BooKContract then I should i stored the value. Should i go with same Masterdetails Table ?

The above design was to reduce table for each categories and redunant data. I want to maintain the same thorugh out the application ? I will have to store each CategoryID with WriterMasterID for each contract and will have to retrive with query which gives with multiple records along with metadata. I realised that i will have to first find the distinct name and then iterate for type of metadata to store BookContract.

Can u please suggest ? Do I need to stored each WriterMasterID for each category as column in table? Please suggest better solution.

Thanks in Advance.
AnswerRe: Database design issue - Pl Sugget a better way Pin
Eddy Vluggen24-Jan-11 8:29
professionalEddy Vluggen24-Jan-11 8:29 
AnswerRe: Database design issue - Pl Sugget a better way Pin
PIEBALDconsult24-Jan-11 9:50
mvePIEBALDconsult24-Jan-11 9:50 
QuestionFOR XML AUTO and column name with space problem in SQL Server 2005 Pin
Tridip Bhattacharjee20-Jan-11 19:36
professionalTridip Bhattacharjee20-Jan-11 19:36 
AnswerRe: FOR XML AUTO and column name with space problem in SQL Server 2005 Pin
Richard MacCutchan20-Jan-11 21:44
mveRichard MacCutchan20-Jan-11 21:44 
Questiondynamic sql and store output in variable sql server2005 Pin
Tridip Bhattacharjee20-Jan-11 6:36
professionalTridip Bhattacharjee20-Jan-11 6:36 
AnswerRe: dynamic sql and store output in variable sql server2005 Pin
Corporal Agarn21-Jan-11 5:46
professionalCorporal Agarn21-Jan-11 5:46 
AnswerRe: dynamic sql and store output in variable sql server2005 Pin
Costica U22-Jan-11 8:00
Costica U22-Jan-11 8:00 
QuestionSQL and Joining in sql server2005 Pin
Tridip Bhattacharjee20-Jan-11 2:18
professionalTridip Bhattacharjee20-Jan-11 2:18 
AnswerRe: SQL and Joining in sql server2005 Pin
dasblinkenlight20-Jan-11 7:27
dasblinkenlight20-Jan-11 7:27 
GeneralRe: SQL and Joining in sql server2005 Pin
Mahendra Vishwakarma20-Jan-11 20:32
Mahendra Vishwakarma20-Jan-11 20:32 
AnswerRe: SQL and Joining in sql server2005 Pin
Pravin Patil, Mumbai20-Jan-11 21:37
Pravin Patil, Mumbai20-Jan-11 21:37 
QuestionHow to create an outlook task using SQL? Pin
obarahmeh20-Jan-11 2:04
obarahmeh20-Jan-11 2:04 
AnswerRe: How to create an outlook task using SQL? Pin
David Mujica20-Jan-11 3:26
David Mujica20-Jan-11 3:26 
GeneralRe: How to create an outlook task using SQL? Pin
obarahmeh20-Jan-11 6:15
obarahmeh20-Jan-11 6:15 
GeneralRe: How to create an outlook task using SQL? Pin
David Mujica20-Jan-11 7:59
David Mujica20-Jan-11 7:59 
QuestionReplacing ' in a string Pin
phimix19-Jan-11 21:52
phimix19-Jan-11 21:52 
AnswerRe: Replacing ' in a string Pin
Richard MacCutchan19-Jan-11 22:00
mveRichard MacCutchan19-Jan-11 22:00 

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.