Passing an int to a query
Posted by:
Maurice
Date: March 08, 2005 11:31AM
I'm writing a C# program that will take a user's student id, pass it into an SQL query and return the results, in this case whether they have passed or not. The table contains a list of student ids and whether they have passed or not, 1 being they have 0 being they haven't:
StudentId HasPassed
------------ -------------
12345678 1
23456789 1
34567890 0
Is there a way for me to take in this id and make it part of an SQL query?
Subject
Written By
Posted
Passing an int to a query
March 08, 2005 11:31AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.