Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NULL value and store procedure

Status
Not open for further replies.

stressman

Programmer
Jan 4, 2002
48
FR
Is there a way to give in parameter of a store procedure a NULL value. My procedure is to insert element in a table and i give in parameter host values and for those which are not define the null value but it refuse the terme NULL. how can i solve this problem.

Other thind is there an equivalence for tha oracle sql terme EXEC SQL WHENEVER SQLERROR DO i m not satisfied by the "go to" solution

Thank a lot for your help
 
if someone is interest i think i've got the solution
i use a host variable struct indicators{short int} and i initialize it with the value -1 in my store procedure i use it as an indicator
that seems to work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top