Click here to Skip to main content
16,004,836 members
Home / Discussions / Database
   

Database

 
AnswerRe: VB.net mysql subtract value Pin
Blue_Boy20-Aug-08 8:24
Blue_Boy20-Aug-08 8:24 
GeneralRe: VB.net mysql subtract value Pin
Pestinha198420-Aug-08 10:49
Pestinha198420-Aug-08 10:49 
GeneralRe: VB.net mysql subtract value Pin
Blue_Boy20-Aug-08 14:05
Blue_Boy20-Aug-08 14:05 
QuestionPackages in SQL server 2005 Pin
geekfromindia20-Aug-08 5:44
geekfromindia20-Aug-08 5:44 
AnswerRe: Packages in SQL server 2005 Pin
DerekFL20-Aug-08 6:07
DerekFL20-Aug-08 6:07 
Questionmysql data type Pin
dianenacario20-Aug-08 1:34
dianenacario20-Aug-08 1:34 
AnswerRe: mysql data type Pin
TheFM23420-Aug-08 7:13
TheFM23420-Aug-08 7:13 
QuestionA question about the DB construction Pin
makumazan8420-Aug-08 1:00
makumazan8420-Aug-08 1:00 
Hi!
I have worked with a DB programming, but this is the first time that I actually build a database on my own.
Here is a short description of the task: I need to store the list of small businesses, each of them has some fields, like "Company name", "Address", "Phone", etc. However, I also need to store the working schedule for these businesses and that is something that I don't know how to implement.
The problem is that businesses in my country often have different working hours and lunch breaks, for example.
Monday - Friday: 10.00 - 19.00 , lunch break 13.00-14.00
Saturday: 10.00-16.00, lunch break 12.30-13.30;
Sunday: OFF

Because of the variety of the companies, I'd like to be able to take care of such instances.
So far I came up with idea of using a table, which stores the schedule in 28 different columns (time of work start + time of work end + time of lunch start + time of lunch end) * 7 days = 28 columns.
I was wondering if someone has done something similar before and can give me an advice on this.
Thanks for help
AnswerRe: A question about the DB construction Pin
TheFM23420-Aug-08 7:22
TheFM23420-Aug-08 7:22 
GeneralRe: A question about the DB construction Pin
makumazan8420-Aug-08 8:46
makumazan8420-Aug-08 8:46 
GeneralRe: A question about the DB construction Pin
TheFM23420-Aug-08 16:10
TheFM23420-Aug-08 16:10 
QuestionForeign Key Column Pin
Subramaniam s.V.19-Aug-08 23:25
Subramaniam s.V.19-Aug-08 23:25 
AnswerRe: Foreign Key Column Pin
Wendelius20-Aug-08 3:01
mentorWendelius20-Aug-08 3:01 
QuestionNeed help with View <noobie></noobie> Pin
Ltek19-Aug-08 20:47
Ltek19-Aug-08 20:47 
AnswerRe: Need help with View Pin
Blue_Boy19-Aug-08 20:57
Blue_Boy19-Aug-08 20:57 
AnswerRe: Need help with View Pin
TheFM23420-Aug-08 7:24
TheFM23420-Aug-08 7:24 
Questiondatabase Convert Pin
saurabh60mca6019-Aug-08 20:05
saurabh60mca6019-Aug-08 20:05 
AnswerRe: database Convert Pin
That's Aragon19-Aug-08 20:14
That's Aragon19-Aug-08 20:14 
GeneralRe: database Convert Pin
Preethi_12321-Aug-08 19:06
Preethi_12321-Aug-08 19:06 
QuestionIs there any alternative function for Rank() or Row_Number() in sql server 2000? Pin
Ashish Kumar Vyas19-Aug-08 19:03
Ashish Kumar Vyas19-Aug-08 19:03 
AnswerRe: Is there any alternative function for Rank() or Row_Number() in sql server 2000? Pin
Mycroft Holmes19-Aug-08 22:18
professionalMycroft Holmes19-Aug-08 22:18 
GeneralRe: Is there any alternative function for Rank() or Row_Number() in sql server 2000? Pin
Ashish Kumar Vyas19-Aug-08 22:30
Ashish Kumar Vyas19-Aug-08 22:30 
GeneralRe: Is there any alternative function for Rank() or Row_Number() in sql server 2000? Pin
Mycroft Holmes19-Aug-08 22:41
professionalMycroft Holmes19-Aug-08 22:41 
GeneralRe: Is there any alternative function for Rank() or Row_Number() in sql server 2000? Pin
Tripathi Swati20-Aug-08 23:27
Tripathi Swati20-Aug-08 23:27 
QuestionSQL SERVER .sql script file to DB2 DBMS Pin
fantasy121519-Aug-08 18:56
fantasy121519-Aug-08 18:56 

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.