Click here to Skip to main content
16,005,120 members
Home / Discussions / Database
   

Database

 
QuestionImage Pin
rdop22-Oct-09 19:20
rdop22-Oct-09 19:20 
AnswerRe: Image Pin
Christian Graus22-Oct-09 19:30
protectorChristian Graus22-Oct-09 19:30 
GeneralRe: Image Pin
rdop22-Oct-09 19:50
rdop22-Oct-09 19:50 
GeneralRe: Image Pin
Christian Graus22-Oct-09 20:18
protectorChristian Graus22-Oct-09 20:18 
AnswerRe: Image Pin
εїзεїзεїз24-Oct-09 2:44
εїзεїзεїз24-Oct-09 2:44 
GeneralRe: Image Pin
Christian Graus24-Oct-09 10:30
protectorChristian Graus24-Oct-09 10:30 
GeneralRe: Image Pin
εїзεїзεїз24-Oct-09 19:26
εїзεїзεїз24-Oct-09 19:26 
Questionquery needed Pin
Ashok Nalam22-Oct-09 12:00
Ashok Nalam22-Oct-09 12:00 
I have table data like this
Id(PrimaryKey) Time Value Time Order
1 06:00AM 1
2 07:00AM 2
3 08:00AM 3
4 09:00AM 4
5 10:00AM 5
6 11:00AM 6

If I get query like select * from table order by Time Order then I will above data
My requirement is if I have 2 customers
• Customer1 configure start time as 08:00AM then I have to bind drop down first value as 08:00AM , 09:00AM, 10:00AM, 11:00AM, 06:00AM, 07:00AM
• Customer1 configure start time as 10:00AM then I have to bind drop down first value as 10:00AM , 11:00AM, 06:00AM, 07:00AM, 08:00AM, 09:00AM

So it has basically start from ( based on configuration by customer specific) to end time then start time onwards.

Can you please how can we write SQL query above and how can I achive above requirement?

Thank,
Ashok

Ashok Nalam

AnswerRe: query needed Pin
i.j.russell22-Oct-09 12:10
i.j.russell22-Oct-09 12:10 
GeneralRe: query needed Pin
Ashok Nalam22-Oct-09 12:15
Ashok Nalam22-Oct-09 12:15 
GeneralRe: query needed Pin
Not Active22-Oct-09 12:17
mentorNot Active22-Oct-09 12:17 
GeneralRe: query needed Pin
i.j.russell22-Oct-09 12:24
i.j.russell22-Oct-09 12:24 
AnswerRe: query needed Pin
Not Active22-Oct-09 12:15
mentorNot Active22-Oct-09 12:15 
GeneralRe: query needed Pin
i.j.russell22-Oct-09 12:42
i.j.russell22-Oct-09 12:42 
GeneralRe: query needed Pin
Nisha Agrawal22-Oct-09 20:11
Nisha Agrawal22-Oct-09 20:11 
GeneralRe: query needed Pin
i.j.russell22-Oct-09 21:42
i.j.russell22-Oct-09 21:42 
GeneralAdding custom attributes to tables Pin
Brady Kelly22-Oct-09 6:31
Brady Kelly22-Oct-09 6:31 
GeneralRe: Adding custom attributes to tables Pin
i.j.russell22-Oct-09 11:12
i.j.russell22-Oct-09 11:12 
GeneralRe: Adding custom attributes to tables Pin
Mycroft Holmes23-Oct-09 22:06
professionalMycroft Holmes23-Oct-09 22:06 
Questionproblem with sending (') as string Pin
Pankaj1822-Oct-09 2:12
Pankaj1822-Oct-09 2:12 
AnswerRe: problem with sending (') as string Pin
Eddy Vluggen22-Oct-09 2:21
professionalEddy Vluggen22-Oct-09 2:21 
GeneralRe: problem with sending (') as string Pin
David Skelly22-Oct-09 2:27
David Skelly22-Oct-09 2:27 
GeneralRe: problem with sending (') as string Pin
Eddy Vluggen22-Oct-09 2:35
professionalEddy Vluggen22-Oct-09 2:35 
AnswerRe: problem with sending (') as string Pin
David Skelly22-Oct-09 2:26
David Skelly22-Oct-09 2:26 
AnswerRe: problem with sending (') as string Pin
Rob Philpott22-Oct-09 4:11
Rob Philpott22-Oct-09 4:11 

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.