Click here to Skip to main content
15,891,567 members
Home / Discussions / Database
   

Database

 
GeneralRe: Validating if a varchar column contains int values Pin
JacquesDP13-May-08 21:13
JacquesDP13-May-08 21:13 
GeneralRe: Validating if a varchar column contains int values Pin
Ashfield13-May-08 21:27
Ashfield13-May-08 21:27 
AnswerRe: Validating if a varchar column contains int values Pin
Blue_Boy13-May-08 21:15
Blue_Boy13-May-08 21:15 
QuestionTo get output of Sysdate in a variable Pin
megha_gharote13-May-08 20:03
megha_gharote13-May-08 20:03 
QuestionMFC application crashed in the dll's function ConnectTransact Pin
Arun Kuriyakkotte Ramachandran13-May-08 15:49
Arun Kuriyakkotte Ramachandran13-May-08 15:49 
QuestionExpense of network traffic Pin
Member 391904913-May-08 11:40
Member 391904913-May-08 11:40 
AnswerRe: Expense of network traffic Pin
Mark J. Miller14-May-08 4:42
Mark J. Miller14-May-08 4:42 
QuestionOracle message, error that makes no sense Pin
eggsovereasy13-May-08 8:27
eggsovereasy13-May-08 8:27 
I have a stored procedure in oracle that looks like this:

<br />
PROCEDURE validate_master_account_id (v_master_account_id IN NUMBER, v_is_valid OUT NUMBER);      <br />


And a procedure that looks like this:
<br />
public static bool TestProcedure()<br />
{<br />
	  string procedureName = "SMT.CPR_MASTER_ACCOUNT_PKG.validate_master_account_id";<br />
	  using (OracleConnection connection = new OracleConnection(AppSettings.ConnectionString))<br />
	  {<br />
		    connection.Open();<br />
<br />
		    using (OracleCommand command = new OracleCommand(procedureName, connection))<br />
		    {<br />
			      command.Parameters.Add("v_master_account_id", OracleType.Number).Value = 16793;<br />
			      command.Parameters.Add("v_is_valid", OracleType.Number).Direction = ParameterDirection.Output;<br />
<br />
			      command.ExecuteNonQuery();<br />
			      bool result = ((int) command.Parameters["v_is_valid"].Value) == 1;<br />
			      return result;<br />
		    }<br />
	  }<br />
}<br />


I get an error message that says "ORA-01036: illegal variable name/number" and I can't figure out why?

Thanks in advance.
AnswerRe: Oracle message, error that makes no sense Pin
Blue_Boy13-May-08 8:49
Blue_Boy13-May-08 8:49 
AnswerRe: Oracle message, error that makes no sense Pin
MarkTime13-May-08 9:52
MarkTime13-May-08 9:52 
GeneralRe: Oracle message, error that makes no sense Pin
eggsovereasy13-May-08 9:59
eggsovereasy13-May-08 9:59 
QuestionMS Access VBA command entry problem Pin
Member 450523613-May-08 4:16
Member 450523613-May-08 4:16 
Questionhow to know the host name in oracle 9i. [modified] Pin
ajaych13-May-08 3:40
ajaych13-May-08 3:40 
Questionsql Pin
 Programmer.13-May-08 0:30
 Programmer.13-May-08 0:30 
AnswerRe: sql Pin
Blue_Boy13-May-08 0:41
Blue_Boy13-May-08 0:41 
AnswerRe: sql Pin
Ashfield13-May-08 2:20
Ashfield13-May-08 2:20 
Questionusername and password Pin
trilokharry12-May-08 19:33
trilokharry12-May-08 19:33 
AnswerRe: username and password Pin
its.rajendra12-May-08 21:09
its.rajendra12-May-08 21:09 
GeneralRe: username and password Pin
trilokharry12-May-08 21:31
trilokharry12-May-08 21:31 
AnswerRe: username and password Pin
Ashfield12-May-08 21:43
Ashfield12-May-08 21:43 
GeneralRe: username and password Pin
trilokharry13-May-08 0:58
trilokharry13-May-08 0:58 
AnswerRe: username and password Pin
Alsvha13-May-08 9:21
Alsvha13-May-08 9:21 
QuestionDo I need VS2008 and sqlce 3.5? The old P/invoke DLL error for SQLCEME30.dll problem... Pin
wallyg12-May-08 13:57
wallyg12-May-08 13:57 
Questionconver string to date not in date time format Pin
trilokharry12-May-08 2:04
trilokharry12-May-08 2:04 
AnswerRe: conver string to date not in date time format Pin
Ashfield12-May-08 3:56
Ashfield12-May-08 3:56 

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.