SQL Query to pull Datetime columns and get the minimum data in each column and date coulmns

Tulluri, Swathi 0 Reputation points

I wanted to write down the min(date columns) from all the data bases and all the tables which has datetime column.

The yellow column needs to be published in

I have writtent a query which could retrieve the data only to the perticular data base, i am lookiing to get it via dynamic SQL

What i could get

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,289 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,867 questions
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,597 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PercyTang-MSFT 12,426 Reputation points Microsoft Vendor
    0 comments No comments