Click here to Skip to main content
15,923,120 members
Home / Discussions / Database
   

Database

 
QuestionRe: Problems in using single dataset in different VB FORMS Pin
Zafar Ayub13-Sep-06 23:12
Zafar Ayub13-Sep-06 23:12 
AnswerRe: Problems in using single dataset in different VB FORMS Pin
Stephen McGuire14-Sep-06 1:22
Stephen McGuire14-Sep-06 1:22 
QuestionAccess misunderstanding - MAYDAY!!! Pin
eMtek13-Sep-06 5:48
eMtek13-Sep-06 5:48 
AnswerRe: Access misunderstanding - MAYDAY!!! Pin
Rob Graham13-Sep-06 10:55
Rob Graham13-Sep-06 10:55 
GeneralRe: Access misunderstanding - MAYDAY!!! Pin
eMtek13-Sep-06 11:04
eMtek13-Sep-06 11:04 
GeneralRe: Access misunderstanding - MAYDAY!!! Pin
Eric Dahlvang13-Sep-06 12:14
Eric Dahlvang13-Sep-06 12:14 
GeneralRe: Access misunderstanding - MAYDAY!!! Pin
eMtek13-Sep-06 20:56
eMtek13-Sep-06 20:56 
QuestionWhere Clause with Result from a Stored Procedure [modified] Pin
Naidooy13-Sep-06 2:37
Naidooy13-Sep-06 2:37 
Hi guys,

Heres my problem, i created a stored procedure that takes a person's ID number as a parameter
and says if the id number is Valid or Invalid. So basically after it has done the necessary calculation, i just state at the end to get an output:

If @CalcID = @ControlDigit
Select 'Valid'
Else
Select 'IN-Valid'

Now, in another sql script, i have a select statement to get all members, display the fields i need where where the members id's are invalid, basically like this :

Select Name,Email,Phone
from Members
Where ValidateIDNum Members.IDNum = 'IN-Valid'


ValidateIDNum is the procedure i stated above.

but kept getting errors, complaining about incorrect syntax near ValidateIDNum
Is this the right way, to do this type of work, also i tried the same work around using functions but still to no avail.

please help.

Thank You In Advance.


-- modified at 8:53 Wednesday 13th September, 2006
AnswerRe: Where Clause with Result from a Stored Procedure Pin
Not Active13-Sep-06 3:15
mentorNot Active13-Sep-06 3:15 
GeneralRe: Where Clause with Result from a Stored Procedure Pin
Naidooy13-Sep-06 3:44
Naidooy13-Sep-06 3:44 
AnswerRe: Where Clause with Result from a Stored Procedure Pin
Eric Dahlvang13-Sep-06 3:48
Eric Dahlvang13-Sep-06 3:48 
QuestionSQL Trigger not working on update statement Pin
BSRK13-Sep-06 1:22
BSRK13-Sep-06 1:22 
AnswerRe: SQL Trigger not working on update statement Pin
differenceengine17-Sep-06 2:43
differenceengine17-Sep-06 2:43 
QuestionSQL Trigger not working on update statement Pin
BSRK13-Sep-06 1:21
BSRK13-Sep-06 1:21 
AnswerRe: SQL Trigger not working on update statement Pin
Eric Dahlvang13-Sep-06 3:42
Eric Dahlvang13-Sep-06 3:42 
AnswerRe: SQL Trigger not working on update statement Pin
Chris Meech13-Sep-06 10:01
Chris Meech13-Sep-06 10:01 
GeneralRe: SQL Trigger not working on update statement Pin
Eric Dahlvang13-Sep-06 11:38
Eric Dahlvang13-Sep-06 11:38 
Questionproblem in retrieving "Time" from database using _RecordsetPtr Pin
PrafullaVedante12-Sep-06 23:53
PrafullaVedante12-Sep-06 23:53 
AnswerRe: problem in retrieving "Time" from database using _RecordsetPtr Pin
Rob Graham13-Sep-06 15:49
Rob Graham13-Sep-06 15:49 
GeneralRe: problem in retrieving "Time" from database using _RecordsetPtr Pin
PrafullaVedante13-Sep-06 23:12
PrafullaVedante13-Sep-06 23:12 
QuestionDeploying an application for SQL Server 2005 express Pin
Ilkka Pitkänen12-Sep-06 21:12
Ilkka Pitkänen12-Sep-06 21:12 
AnswerRe: Deploying an application for SQL Server 2005 express Pin
Ilkka Pitkänen14-Sep-06 6:49
Ilkka Pitkänen14-Sep-06 6:49 
QuestionQuery regarding SP's Pin
ParagGupta12-Sep-06 20:54
ParagGupta12-Sep-06 20:54 
AnswerRe: Query regarding SP's Pin
_AK_12-Sep-06 21:11
_AK_12-Sep-06 21:11 
GeneralRe: Query regarding SP's Pin
ParagGupta12-Sep-06 22:37
ParagGupta12-Sep-06 22:37 

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.