Skip navigation
11374 Views 1 Reply Latest reply: Jul 21, 2010 1:15 PM by rmenon RSS
rmenon New Enzee 59 posts since
Apr 23, 2009
Currently Being Moderated

Jul 21, 2010 10:30 AM

Finding all columns with missing default value

Hi folks

I have a  set of tables with the same column name (say mod_ts). Some of them have a default value of "current_timestamp" (i.e. the table column mod_ts was created with clause "mod_ts timestamp not null default current_timestamp), and some do not.

 

How do I list out all tables that have the column mod_ts but do not have the default value of current_timestamp?

More Like This

  • Retrieving data ...

Bookmarked By (1)

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points