Advertisement
vim_fans

Untitled

Nov 26th, 2021
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.21 KB | None | 0 0
  1. -- ZJSTS's value maybe be empty , if so then replaced it with 0. But the following statement doesn't worked for me
  2. SELECT DATEADD(DD,(CASE ZJDTS WHEN '' THEN 0 ELSE ZJDTS END ),JFDate) AS a, JFDate   FROM  PM_JD_LCBS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement