Click here to Skip to main content
16,007,760 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQLite Null Terminated string? Pin
Mycroft Holmes12-May-09 16:50
professionalMycroft Holmes12-May-09 16:50 
QuestionDTS Package Create problem Pin
vnsraj11-May-09 18:56
vnsraj11-May-09 18:56 
QuestionEnabling User Instances in SQL Server 2005 Pin
Roger Wright11-May-09 15:34
professionalRoger Wright11-May-09 15:34 
QuestionLong delay update access database ( using ADO.NET ) .. how to solve the problem ? Pin
Yanshof11-May-09 10:43
Yanshof11-May-09 10:43 
QuestionT-SQL Store Procedure Table Variable Pin
Joe@Scuds11-May-09 2:53
Joe@Scuds11-May-09 2:53 
AnswerRe: T-SQL Store Procedure Table Variable Pin
Yusuf11-May-09 5:02
Yusuf11-May-09 5:02 
AnswerRe: T-SQL Store Procedure Table Variable Pin
Jondo24shoots13-May-09 0:42
Jondo24shoots13-May-09 0:42 
Questionin urgent need of query Pin
Member 305788711-May-09 1:38
Member 305788711-May-09 1:38 
Hi,

I am in Urgent need of query. I have 4 tables:
MeterSettings
MadeByID ConsumerTypeID AllocatedPowerID MeterID Date
1 2 3 22 5/11/2009
1 1 23
MeterMadeBy

ID Company TimeInterval
1 L&T 5
2 ABB 10
3 Rishab 15

ConsumerType

ID Type TimeInterval
1 SSI 5
2 MSI 20
3 LSI 30

PowerSanctioned

ID Power TimeInterval
1 5kw-10kw 5
2 10kw-15kw 10
3 15kw-20kw 20
4 25kw-30kw 25

now the requirement is I have to get MeterIds and corresponding Time Intervals in the following manner

if a Meter is having value for MadeByID in MeterSettings then we have to get TimeInterval of corresponding Meter.otherwise get the TimeInterval of
the meter based on value of ConsumerType. Otherwise go for PowerSanctioned.

I can't use Stored Procedures for this. The only option is query
AnswerRe: in urgent need of query Pin
Ennis Ray Lynch, Jr.11-May-09 3:37
Ennis Ray Lynch, Jr.11-May-09 3:37 
AnswerRe: in urgent need of query Pin
Jondo24shoots13-May-09 1:16
Jondo24shoots13-May-09 1:16 
AnswerRe: in urgent need of query Pin
Jondo24shoots13-May-09 1:26
Jondo24shoots13-May-09 1:26 
Question[Message Deleted] Pin
LucBite10-May-09 20:04
LucBite10-May-09 20:04 
AnswerRe: ASP.NET EMAIL FUNCTIONALITY APPLICATIONS Pin
Ashfield10-May-09 20:52
Ashfield10-May-09 20:52 
Questionproblem in select sql query Pin
Shuaib wasif khan10-May-09 7:34
Shuaib wasif khan10-May-09 7:34 
AnswerRe: problem in select sql query Pin
Luc Pattyn10-May-09 8:14
sitebuilderLuc Pattyn10-May-09 8:14 
GeneralRe: problem in select sql query Pin
Shuaib wasif khan10-May-09 8:30
Shuaib wasif khan10-May-09 8:30 
AnswerRe: problem in select sql query Pin
Jondo24shoots13-May-09 1:44
Jondo24shoots13-May-09 1:44 
QuestionHow to find row after query ? Pin
E_Gold10-May-09 6:50
E_Gold10-May-09 6:50 
AnswerRe: How to find row after query ? Pin
Blue_Boy10-May-09 9:00
Blue_Boy10-May-09 9:00 
AnswerRe: How to find row after query ? Pin
David Mujica10-May-09 15:17
David Mujica10-May-09 15:17 
QuestionDataset.merge() bad performance Pin
smr8510-May-09 0:25
smr8510-May-09 0:25 
QuestionDeleting Coresponding Row(s) Pin
JustinRiggs9-May-09 10:47
JustinRiggs9-May-09 10:47 
AnswerRe: Deleting Coresponding Row(s) Pin
JustinRiggs9-May-09 12:50
JustinRiggs9-May-09 12:50 
GeneralRe: Deleting Coresponding Row(s) Pin
AlexeiXX39-May-09 17:34
AlexeiXX39-May-09 17:34 
AnswerRe: Deleting Coresponding Row(s) Pin
AlexeiXX39-May-09 17:30
AlexeiXX39-May-09 17:30 

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.