sql - difference between null and 0 while counting rows -


i have query follows

select owner, table_name,num_rows all_tables 

for of tables num_rows 0 of table num_rows showing null

i'm not getting difference between these two.

on condition null come , when 0 displayed?

thank

i think null showing on tables without statistics. last_analyzed should null too. try query last_analyzed , check it.

select owner, table_name,num_rows, last_analyzed  all_tables; 

Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -