Click here to Skip to main content
15,905,563 members
Home / Discussions / Database
   

Database

 
GeneralRe: Loading a DataSet with Data from Multiple Tables Pin
Alexandru Savescu6-Aug-03 22:37
Alexandru Savescu6-Aug-03 22:37 
GeneralREPOST: How to create "inheritance" relationship in Ms Access? (Better problem definition) Pin
ChiYung4-Aug-03 8:52
ChiYung4-Aug-03 8:52 
GeneralCursor Error Pin
Anonymous4-Aug-03 7:22
Anonymous4-Aug-03 7:22 
QuestionClose the connection? Pin
Anonymous4-Aug-03 2:58
Anonymous4-Aug-03 2:58 
AnswerRe: Close the connection? Pin
Rob Graham4-Aug-03 4:02
Rob Graham4-Aug-03 4:02 
GeneralRe: Close the connection? Pin
Anonymous4-Aug-03 5:10
Anonymous4-Aug-03 5:10 
AnswerRe: Close the connection? Pin
Rocky Moore4-Aug-03 4:02
Rocky Moore4-Aug-03 4:02 
GeneralDynamic where Clause Pin
dabuskol4-Aug-03 0:46
dabuskol4-Aug-03 0:46 
1. With the statement below I was able to retrieved records using the @jv parameter.

declare @jv varchar(100)
set @jv = 'abh3'

SELECT jv,day, interval/4, sm, aiu, sum(att), ans,usg, acblk
FROM c204
WHERE [day] between '7-21-2003' and '7-22-2003'
and jv = COALESCE(@jv,jv)
GROUP BY jv,day,interval/4,sm,aiu,ans,usg,acblk
ORDER BY jv,day,interval/4,sm,aiu,ans,usg,acblk
GO

2. What is the solution if you have two value in one parameter like the example below, Does anyone know the answer. Please HELP Confused | :confused: I'm using it in my stored procdure.

declare @jv varchar(100)
set @jv = 'abh3','hal3'

SELECT jv,day, interval/4, sm, aiu, sum(att), ans,usg, acblk
FROM c204
WHERE [day] between '7-21-2003' and '7-22-2003'
and jv = COALESCE(@jv,jv)
GROUP BY jv,day,interval/4,sm,aiu,ans,usg,acblk
ORDER BY jv,day,interval/4,sm,aiu,ans,usg,acblk
GO



Dabuskol
GeneralRe: Dynamic where Clause Pin
Rocky Moore4-Aug-03 4:35
Rocky Moore4-Aug-03 4:35 
GeneralRe: Dynamic where Clause Pin
Peet Schultz5-Aug-03 5:57
Peet Schultz5-Aug-03 5:57 
GeneralRe: Dynamic where Clause Pin
dabuskol5-Aug-03 18:27
dabuskol5-Aug-03 18:27 
Generalmozooo Pin
Anonymous3-Aug-03 22:36
Anonymous3-Aug-03 22:36 
GeneralRe: mozooo Pin
Anonymous3-Aug-03 22:38
Anonymous3-Aug-03 22:38 
GeneraloledbCommand Pin
betengan3-Aug-03 15:13
betengan3-Aug-03 15:13 
GeneralRe: oledbCommand Pin
neda3-Aug-03 22:33
neda3-Aug-03 22:33 
GeneralRe: oledbCommand Pin
K4reem5-Aug-03 3:59
K4reem5-Aug-03 3:59 
GeneralUpdateCommand with Parameter Pin
Anonymous3-Aug-03 8:42
Anonymous3-Aug-03 8:42 
GeneralRe: UpdateCommand with Parameter Pin
ChiYung3-Aug-03 9:13
ChiYung3-Aug-03 9:13 
GeneralRe: UpdateCommand with Parameter Pin
Arjan Einbu3-Aug-03 12:06
Arjan Einbu3-Aug-03 12:06 
GeneralRe: UpdateCommand with Parameter Pin
Anonymous3-Aug-03 12:21
Anonymous3-Aug-03 12:21 
GeneralRe: UpdateCommand with Parameter Pin
Anonymous3-Aug-03 13:33
Anonymous3-Aug-03 13:33 
QuestionHow to create "inheritance" relationship in Ms Access? Pin
ChiYung3-Aug-03 8:34
ChiYung3-Aug-03 8:34 
AnswerRe: How to create "inheritance" relationship in Ms Access? Pin
Ray Cassick3-Aug-03 9:40
Ray Cassick3-Aug-03 9:40 
GeneralRe: How to create "inheritance" relationship in Ms Access? Pin
ChiYung3-Aug-03 9:47
ChiYung3-Aug-03 9:47 
GeneralRe: How to create "inheritance" relationship in Ms Access? Pin
Ray Cassick3-Aug-03 9:55
Ray Cassick3-Aug-03 9:55 

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.