Jump to content
  • 0

Null Value in a subquery


FAVC96

Question

I have a subquery:

SELECT SUM(Requisicion_Importe) FROM Requisicion
WHERE Requisicion_Contrato = target.[@field:Contrato_ID]

That for some conditions doesnt find results, the problem is that is showing me empty spaces insted of 0 that i need for another calculated field.

Right now i cant use that column because i have something like this 10 - " " = " " , insted of 10 - 0 = 10

Can you help me change my query with proteccion for isnull()

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...